symposion_app/symposion/urls.py

24 lines
703 B
Python
Raw Normal View History

2012-02-05 18:53:49 +00:00
from django.conf import settings
from django.conf.urls.defaults import *
2012-05-29 19:16:41 +00:00
from django.conf.urls.static import static
2012-02-05 18:53:49 +00:00
from django.views.generic.simple import direct_to_template
from django.contrib import admin
admin.autodiscover()
2012-05-29 19:16:41 +00:00
# from pinax.apps.account.openid_consumer import PinaxConsumer
2012-02-05 18:53:49 +00:00
urlpatterns = patterns("",
url(r"^$", direct_to_template, {
"template": "homepage.html",
}, name="home"),
url(r"^admin/", include(admin.site.urls)),
2012-05-29 19:16:41 +00:00
url(r"^about/", include("symposion.about.urls")),
url(r"^account/", include("account.urls")),
# url(r"^openid/", include(PinaxConsumer().urls)),
2012-02-05 18:53:49 +00:00
)
2012-05-29 19:16:41 +00:00
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)