예제 #1
0
handler500 = "pinax.views.server_error"

urlpatterns = patterns(
    "",
    url(r"^$",
        direct_to_template, {
            "template": "homepage.html",
        },
        name="home"),
    url(r"^admin/invite_user/$",
        "pinax.apps.signup_codes.views.admin_invite_user",
        name="admin_invite_user"),
    url(r"^admin/", include(admin.site.urls)),
    url(r"^about/", include("about.urls")),
    url(r"^account/", include("pinax.apps.account.urls")),
    url(r"^openid/", include(PinaxConsumer().urls)),
    url(r"^profiles/", include("idios.urls")),
    url(r"^notices/", include("notification.urls")),
    url(r"^announcements/", include("announcements.urls")),
    url(r"^galeria/", include("aaacec.apps.galeria.urls")),
    url(r"^blog/", include("aaacec.apps.blog.urls")),
    url(r"^loja/", include("aaacec.apps.loja.urls")),
    url(r"^intercomp/ficha/(\d+)", "aaacec.apps.intercomp2012.views.ficha"),
    url(r"^intercomp/finalizado", "aaacec.apps.intercomp2012.views.fim"),
    url(r"^intercomp/lista", "aaacec.apps.intercomp2012.views.lista"),
    url(r"^intercomp/", "aaacec.apps.intercomp2012.views.encomenda"),
)

if settings.SERVE_MEDIA:
    urlpatterns += patterns(
        "",
예제 #2
0
bookmarks_feed_dict = {"feed_dict": {"": BookmarkFeed}}

urlpatterns = patterns(
    "",
    url(r"^$",
        direct_to_template, {
            "template": "homepage.html",
        },
        name="home"),
    url(r"^admin/invite_user/$",
        "pinax.apps.signup_codes.views.admin_invite_user",
        name="admin_invite_user"),
    url(r"^admin/", include(admin.site.urls)),
    url(r"^about/", include("about.urls")),
    url(r"^account/", include("pinax.apps.account.urls")),
    url(r"^openid/(.*)", PinaxConsumer()),
    url(r"^profiles/", include("pinax.apps.profiles.urls")),
    url(r"^bbauth/", include("pinax.apps.bbauth.urls")),
    url(r"^authsub/", include("pinax.apps.authsub.urls")),
    url(r"^blog/", include("pinax.apps.blog.urls")),
    url(r"^invitations/", include("friends_app.urls")),
    url(r"^notices/", include("notification.urls")),
    url(r"^messages/", include("messages.urls")),
    url(r"^announcements/", include("announcements.urls")),
    url(r"^tweets/", include("microblogging.urls")),
    url(r"^tribes/", include("pinax.apps.tribes.urls")),
    url(r"^comments/", include("threadedcomments.urls")),
    url(r"^i18n/", include("django.conf.urls.i18n")),
    url(r"^bookmarks/", include("bookmarks.urls")),
    url(r"^photos/", include("pinax.apps.photos.urls")),
    url(r"^avatar/", include("avatar.urls")),
예제 #3
0
파일: urls.py 프로젝트: al-layth/denigma
            "template": "homepage.html",
        },
        name="homepage"),  # For fast static rendering.
    url(r'^home/', include('home.urls')),

    # Admin
    url(r"^admin/invite_user/$",
        "pinax.apps.signup_codes.views.admin_invite_user",
        name="admin_invite_user"),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^a/', include(admin.site.urls)),
    url(r'^grappeli/', include('grappelli.urls')),

    # User
    url(r'^account/', include("account.urls")),  #, pinax.apps.account.urls")),
    url(r'^openid/', include(PinaxConsumer().urls)),
    url(r'^notices/', include("notification.urls")),
    url(r'^announcements/', include("announcements.urls")),
    url(r'^avatar/',
        include('avatar.urls')),  # django-avatar: Representative user images

    # Comments
    url(r'^comments/',
        include('fluent_comments.urls')),  #django.contrib.comments.urls')),

    # Filtering
    #url(r'^ajax_filtered_fields/', include('ajax_filtered_fields.urls')),
    #url(r'^dynamic-media/jsi18n/$', 'django.views.i18n.javascript_catalog'),
    url(r'^profiles/', include("idios.urls")),
    url(r'^aspects/', include('aspects.urls')),
    url(r'^polls/', include('polls.urls')),