Ejemplo n.º 1
0
# -*- coding: utf-8 -*-
__author__ = 'jackdevil'

from django.conf.urls.defaults import patterns, include, url
from views import List, Detail

urlpatterns = patterns(
    '',
    url(r'^$', List.as_view(), name='metodical_bank.list'),
    url(r'^(?P<slug>\S+)/$', Detail.as_view(), name='metodical_bank.detail'),
)
Ejemplo n.º 2
0
Archivo: urls.py Proyecto: zavsnar/pds
from django.conf.urls.defaults import patterns, include, url

from views import List, MovieDetails, Add, Delete, BasicInfoEdit, RatingGenreEdit

urlpatterns = patterns(
    "",
    # Examples:
    url(r"^$", List.as_view(), name="list"),
    url(r"^(?P<pk>\d+)/$", MovieDetails.as_view(), name="details"),
    url(r"^add/$", Add.as_view(), name="add"),
    url(r"^delete/(?P<pk>\d+)/$", Delete.as_view(), name="delete"),
    url(r"^basic_info/(?P<pk>\d+)/$", BasicInfoEdit.as_view(), name="edit_basic_info"),
    url(r"^rating_and_genre/(?P<pk>\d+)/$", RatingGenreEdit.as_view(), name="edit_rating_and_genre"),
    url(r"^crew_and_cast/(?P<pk>\d+)/$", BasicInfoEdit.as_view(), name="edit_crew_and_cast"),
    url(r"^sales_info/(?P<pk>\d+)/$", BasicInfoEdit.as_view(), name="edit_sales_info"),
    url(r"^art/(?P<pk>\d+)/$", BasicInfoEdit.as_view(), name="edit_art"),
    url(r"^feature_and_trailer/(?P<pk>\d+)/$", BasicInfoEdit.as_view(), name="edit_feature_and_trailer"),
)
Ejemplo n.º 3
0
# -*- coding: utf-8 -*-
__author__ = 'jackdevil'

from django.conf.urls.defaults import patterns, include, url
from views import List, Detail

urlpatterns = patterns(
    '',
    url(r'^$', List.as_view(), name='your_choice.list'),
    url(r'^(?P<slug>\S+)/$', Detail.as_view(), name='your_choice.detail'),
)
Ejemplo n.º 4
0
# -*- coding: utf-8 -*-
__author__ = 'jackdevil'

from django.conf.urls.defaults import patterns, include, url
from views import List, Detail

urlpatterns = patterns(
    '',
    url(r'^$', List.as_view(), name='schools.list'),
    url(r'^(?P<slug>\S+)/$', Detail.as_view(), name='schools.detail'),
)