Esempio n. 1
0
from django.contrib import admin
from qhonuskan_votes.compat import patterns, include, url

admin.autodiscover()

urlpatterns = patterns(
    'demo.app.views',

    url(r'^$', 'home', name='home'),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^votes/', include('qhonuskan_votes.urls')),
)
Esempio n. 2
0
from django.contrib import admin
from qhonuskan_votes.compat import patterns, include, url

admin.autodiscover()

urlpatterns = patterns(
    'demo.app.views',
    url(r'^$', 'home', name='home'),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^votes/', include('qhonuskan_votes.urls')),
)
Esempio n. 3
0
from qhonuskan_votes.compat import patterns, url

urlpatterns = patterns(
    'qhonuskan_votes.views',

    url(r'^vote/$', view='vote', name='qhonuskan_vote'))
Esempio n. 4
0
from qhonuskan_votes.compat import patterns, url

urlpatterns = patterns('qhonuskan_votes.views',
                       url(r'^vote/$', view='vote', name='qhonuskan_vote'))