# with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from countries.views import get_country_states from countries.views import get_country_x_currency from fouillis.views import operator_upper_required urlpatterns = patterns(settings.get_site_prefix()+'countries', url(r'/get_states/(?P<cid>\S+)$', operator_upper_required(get_country_states, login_url="bo_login"), name="get_country_states"), url(r'/get_country_x_currency/$', operator_upper_required(get_country_x_currency, login_url="bo_login"), name="get_country_x_currency"), )
# encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from producttypes.views import CreateProductTypeView, EditProductTypeView, \ EditProductTypeView, DeleteProductTypeView, UpdateProductTypeOrderView urlpatterns = patterns( settings.get_site_prefix() + 'producttypes', url(r'/new/$', CreateProductTypeView.as_view(), name='page_producttypes'), url(r'/(?P<page>\d+)$', CreateProductTypeView.as_view()), url(r'/(?P<pk>\d+)/edit/$', EditProductTypeView.as_view(), name='edit_producttype'), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditProductTypeView.as_view()), url(r'/(?P<pk>\d+)/delete/$', DeleteProductTypeView.as_view(), name='delete_producttype'), url(r'/sort$', UpdateProductTypeOrderView.as_view(), name='sort_producttypes'), )
from django.views.generic.base import TemplateView from sales.views import BrandLogoView from sales.views import DeleteSalesView from sales.views import ListSalesView from sales.views import ProductBrandView from sales.views import SaleDetails from sales.views import SaleDetailsShop from sales.views import UploadProductPictureView from sales.views import add_sale from sales.views import edit_sale from sales.views import get_product_types from sales.views import get_item_varattr_values urlpatterns = patterns(settings.get_site_prefix()+'sales', url(r'/picture/new/$', UploadProductPictureView.as_view(), name="upload_product_picture"), url(r'/brand/new/$', ProductBrandView.as_view(), name="add_new_brand"), url(r'/brand/logo/(?:(?P<brand_id>\d+)/)?$', BrandLogoView.as_view(), name="get_brand_logo"), url(r'/added/$', TemplateView.as_view(template_name="added.html"), name="sale_added"), url(r'/updated/$', TemplateView.as_view(template_name="updated.html"), name="sale_updated"),
# In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from brandings.views import CreateBrandingView, EditBrandingView, \ DeleteBrandingView urlpatterns = patterns(settings.get_site_prefix()+'brandings', url(r'/new/$', CreateBrandingView.as_view(), name="page_brandings"), url(r'/(?P<page>\d+)$', CreateBrandingView.as_view()), url(r'/(?P<pk>\d+)/edit$', EditBrandingView.as_view(), name="edit_branding"), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditBrandingView.as_view()), url(r'/(?P<pk>\d+)/delete$', DeleteBrandingView.as_view(), name="delete_branding"), )
# with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from fouillis.views import admin_required from events.views import * urlpatterns = patterns(settings.get_site_prefix() + 'events', url(r'/(?P<pk>\d+)$', admin_required(EventView.as_view()), name="get_event"), )
# software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from categories.views import CreateCategoryView, EditCategoryView, DeleteCategoryView urlpatterns = patterns( settings.get_site_prefix() + 'categories', url(r'/new/$', CreateCategoryView.as_view(), name='list_categories'), url(r'/(?P<page>\d+)$', CreateCategoryView.as_view()), url(r'/(?P<pk>\d+)/edit/$', EditCategoryView.as_view(), name='edit_category'), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditCategoryView.as_view()), url(r'/(?P<pk>\d+)/delete/$', DeleteCategoryView.as_view(), name='delete_category'), )
# modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from pictures.views import UploadProductPictureView urlpatterns = patterns(settings.get_site_prefix()+'pictures', url(r'/picture/new/$', UploadProductPictureView.as_view(), name="upload_product_picture"), )
# liability. # # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from fouillis.views import super_admin_required from taxes.views import get_rates urlpatterns = patterns( settings.get_site_prefix() + 'taxes', url(r'/get_rates/(?P<rid>\S+)$', super_admin_required(get_rates, login_url="bo_login"), name="get_rates"), )
# # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from stats.views import StatsIncomesView from stats.views import StatsOrdersView from stats.views import StatsVisitorsView urlpatterns = patterns( settings.get_site_prefix() + 'stats', url(r'/incomes$', operator_upper_required(StatsIncomesView.as_view(), login_url="bo_login", super_allowed=True), name='incomes_stats'), url(r'/orders$', operator_upper_required(StatsOrdersView.as_view(), login_url="bo_login", super_allowed=True), name='orders_stats'), url(r'/visitors$', operator_upper_required(StatsVisitorsView.as_view(), login_url="bo_login", super_allowed=True), name='visitors_online_stats'),
# software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from promotion.views import CreatePromotionView, EditPromotionView, DeletePromotionView urlpatterns = patterns( settings.get_site_prefix() + 'promotion', url(r'/$', CreatePromotionView.as_view(), name="page_promotion"), url(r'/(?P<page>\d+)$', CreatePromotionView.as_view()), url(r'/(?P<pk>\d+)/edit$', EditPromotionView.as_view(), name="edit_promotion"), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditPromotionView.as_view()), url(r'/(?P<pk>\d+)/delete$', DeletePromotionView.as_view(), name="delete_promotion"), )
'document_root': settings.MEDIA_ROOT, }), ) if 'rosetta' in settings.INSTALLED_APPS: urlpatterns += patterns( '', url(r'^rosetta/', include('rosetta.urls')), ) urlpatterns += patterns( '', url(r'^logout$', 'django.contrib.auth.views.logout', name='bo_logout')) urlpatterns += patterns( '', url(r'^events', include(settings.get_site_prefix() + 'events.urls')), url(r'^notifs', include(settings.get_site_prefix() + 'notifs.urls')), url(r'^routes', include(settings.get_site_prefix() + 'routes.urls')), url(r'^webservice', include(settings.get_site_prefix() + 'webservice.urls')), url(r'^attributes', include(settings.get_site_prefix() + 'attributes.urls')), url(r'^pictures', include(settings.get_site_prefix() + 'pictures.urls')), url(r'^sales', include(settings.get_site_prefix() + 'sales.urls')), url(r'^stocks', include(settings.get_site_prefix() + 'stocks.urls')), url(r'^shops', include(settings.get_site_prefix() + 'shops.urls')), url(r'^orders', include(settings.get_site_prefix() + 'orders.urls')), url(r'^login', 'fouillis.views.login_staff', name='bo_login'), url(r'^$', operator_upper_required(home_page, login_url="bo_login"), name='bo_index'),
# requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from django.core.urlresolvers import reverse from shops.views import ShopCoordinates, CreateShopView, DeleteShopView, EditShopView urlpatterns = patterns( settings.get_site_prefix() + 'shops', url(r'/$', CreateShopView.as_view(), name="page_shops"), url(r'/(?P<page>\d+)$', CreateShopView.as_view()), url(r'/(?P<pk>\d+)/edit$', EditShopView.as_view(), name="edit_shop"), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditShopView.as_view()), url(r'/(?P<pk>\d+)/delete$', DeleteShopView.as_view(), name="delete_shop"), url(r'/coordinates', ShopCoordinates.as_view(), name='shop_coordinates'), ) # url(r'/shop/(?:(?P<shop_id>\d+)/)?$', # ShopView.as_view(), # name="shop" # ), # url(r'/shop/(?P<shop_id>\d+)/$', # DeleteView.as_view(model=Shop, success_url=reverse("shop")), # name="delete_shop"
# requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from fouillis.views import admin_required from notifs.views import * urlpatterns = patterns(settings.get_site_prefix() + 'notifs', url(r'/images/new/$', UploadImageView.as_view(), name="upload_email_image"), url(r'/list/$', admin_required(NotifListView.as_view()), name="notif_list"), url(r'/list/(?P<page>\d+)$', admin_required(NotifListView.as_view()), name="notif_list"), url(r'/new$', admin_required(NewNotifView.as_view()), name="new_notif"), url(r'/(?P<pk>\d+)/edit$', admin_required(EditNotifView.as_view()), name="edit_notif"), url(r'/(?P<pk>\d+)/delete$', admin_required(DeleteNotifView.as_view()), name="delete_notif"),
from orders.views import ListOrdersView from orders.views import OrderDelete from orders.views import OrderDetails from orders.views import OrderPacking from orders.views import OrderVenteView from orders.views import PackingFeeView from orders.views import ShippingFee from orders.views import ShippingStatusView from orders.views import OrderDeletePacking from orders.views import OrderInvoices from orders.views import OrderNewPacking from orders.views import OrderUpdatePacking from orders.views import SendInvoices urlpatterns = patterns(settings.get_site_prefix()+'orders', url(r'/shipping$', CreateShippingView.as_view(), name="shipment_create"), url(r'/shipping/edit/(?P<shipping_id>\d+)', EditShippingView.as_view(), name="shipment_edit"), url(r'/shipping/status$', ShippingStatusView.as_view(), name="shipment_status"), url(r'/shipping/fee', ShippingFee.as_view(), name="shipment_fees"), url(r'/list/(?:(?P<orders_type>.+)/)?$', operator_upper_required(ListOrdersView.as_view(), login_url="bo_login", super_allowed=False), name='list_orders'), url(r'/vente/(?:(?P<orders_type>.+)/)?$', operator_upper_required(OrderVenteView.as_view(), login_url="bo_login", super_allowed=False), name='order_vente'),
# with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from shippings.views import CustomShippingRateView urlpatterns = patterns( settings.get_site_prefix() + 'shippings', url(r'/custom_shipping_rate/new/$', CustomShippingRateView.as_view(), name="add_new_custom_shipping_rate"), )
# data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from stocks.views import * urlpatterns = patterns(settings.get_site_prefix()+'stocks', url(r'/list/(?:shop/(?P<shop>\d+)/)?(?:page/(?P<page>\d+)/)?$', operator_upper_required(ListStocksView.as_view(), login_url="bo_login", super_allowed=False), name='list_stocks'), url(r'/list/sale/(?P<sale>\d+)/(?:shop/(?P<shop>\d+)/)?(?:page/(?P<page>\d+)/)?$', operator_upper_required(ListStocksView.as_view(), login_url="bo_login", super_allowed=False), name='sale_list_stocks'), url(r'/update/sku$', operator_upper_required(UpdateSkuAjaxView.as_view(), login_url="bo_login", super_allowed=False), name='update_sku'),
# requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns from django.conf.urls import url from backend.views import * urlpatterns = patterns( settings.get_site_prefix() + 'backend', url(r'brands/$', CreateBrandView.as_view(), name='sa_brands'), url(r'brands/(?P<page>\d+)$', CreateBrandView.as_view()), url(r'brands/(?P<pk>\d+)/edit/$', EditBrandView.as_view(), name='sa_edit_brand'), url(r'brands/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditBrandView.as_view()), url(r'brands/(?P<pk>\d+)/delete/$', DeleteBrandView.as_view(), name='sa_delete_brand'), url(r'users/$', CreateUserView.as_view(), name='sa_users'), url(r'users/(?P<pk>\d+)/edit/$', EditUserView.as_view(), name='sa_edit_user'), url(r'users/(?P<pk>\d+)/delete/$', DeleteUserView.as_view(),
# requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from routes.views import * from fouillis.views import admin_required urlpatterns = patterns( settings.get_site_prefix() + 'routes', url(r'/get_page_roles/$', get_page_roles, name="get_page_roles"), url(r'/get_route_params/(?P<pid>\d+)$', get_route_params, name="get_route_params"), url(r'/$', CreateRouteView.as_view(), name="routes"), url(r'/(?P<page>\d+)$', CreateRouteView.as_view()), url(r'/(?P<pk>\d+)/edit$', admin_required(EditRouteView.as_view()), name="edit_route"), url(r'/(?P<pk>\d+)/edit/(?P<page>\d+)$', EditRouteView.as_view()), url(r'/(?P<pk>\d+)/delete$', DeleteRouteView.as_view(), name="delete_route"), )
# # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # #############################################################################import settings import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from termsandconditions.views import TermsAndConditionsView urlpatterns = patterns( settings.get_site_prefix() + 'termsandconditions', url(r'/$', operator_upper_required(TermsAndConditionsView.as_view(), login_url="/"), name="terms_and_conditions"), )