src/polemictweet/urls.py
author ymh <ymh.work@gmail.com>
Tue, 26 Mar 2013 11:18:27 +0100
changeset 12 c105a6d6bcbf
parent 9 39ba26f638b8
parent 6 f3ba7e0bed68
permissions -rw-r--r--
Merge with f3ba7e0bed68afc4e4b2c9c4e4dc74e5ac2652a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     1
from django.conf.urls import patterns, include, url
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     2
from polemictweet.views.home import root_home
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     3
from polemictweet.views.event import create_event, display_event, add_live, add_content
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     4
from polemictweet.views.group import create_group, display_group
6
f3ba7e0bed68 simplification of code to create forms and objects that don't depend on the language entered in the settings.py
grandjoncl
parents: 1
diff changeset
     5
from polemictweet.views.partner import create_partner
1
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     6
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     7
# Uncomment the next two lines to enable the admin:
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     8
from django.contrib import admin
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     9
admin.autodiscover()
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    10
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    11
urlpatterns = patterns('',
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    12
    # Examples:
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    13
    # url(r'^$', 'polemictweet_site.views.home', name='home'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    14
    # url(r'^polemictweet_site/', include('polemictweet_site.foo.urls')),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    15
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    16
    # Uncomment the admin/doc line below to enable admin documentation:
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    17
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    18
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    19
    # Uncomment the next line to enable the admin:
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    20
    url(r'^admin/', include(admin.site.urls)),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    21
        
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    22
    url(r'^$', root_home, name='root_home'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    23
    url(r'^event_admin/create_event/$', create_event, name='create_event'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    24
    url(r'^event_admin/modif_event/(?P<event_slug>.*)$', create_event, name='modif_event'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    25
    url(r'^event_admin/add_live/(?P<event_slug>.*)$', add_live, name='add_live'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    26
    url(r'^event_admin/add_content/(?P<event_slug>.*)$', add_content, name='add_content'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    27
    url(r'^event/(?P<event_slug>.*)$', display_event, name='display_event'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    28
    url(r'^group_admin/create_group/$', create_group, name="create_group"),
6
f3ba7e0bed68 simplification of code to create forms and objects that don't depend on the language entered in the settings.py
grandjoncl
parents: 1
diff changeset
    29
    url(r'^partner_admin/create_partner/$', create_partner, name="create_partner"),
1
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    30
    url(r'^group_admin/modif_group/(?P<group_slug>.*)$', create_group, name='modif_group'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    31
    url(r'^group/(?P<group_slug>.*)$', display_group, name='display_group'),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    32
    (r'^i18n/', include('django.conf.urls.i18n')),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    33
    (r'^tinymce/', include('tinymce.urls')),
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    34
)