Esempio n. 1
0
from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from categories.views import CategoriesEdit


urlpatterns = [
    url(r'^$', login_required(CategoriesEdit.as_view()), name="categories_edit"),
]
Esempio n. 2
0
from django.conf.urls import url
from categories.views import CategoriesEdit

urlpatterns = [
    url(r'^$', CategoriesEdit.as_view(), name="categories_edit"),
]
Esempio n. 3
0
from django.conf.urls import url, patterns
from django.contrib.auth.decorators import login_required
from categories.views import CategoriesEdit

urlpatterns = patterns(
    '',
    url(r'^$',
        login_required(CategoriesEdit.as_view()),
        name="categories_edit"),
)
Esempio n. 4
0
# coding: utf-8
from django.conf.urls import patterns, url
from django.contrib.auth.decorators import login_required

from categories.views import CategoriesEdit

urlpatterns = patterns('',
  url(r'^$', login_required(CategoriesEdit.as_view()), name = "categories_edit"),
)