symposion_app/symposion/urls.py
2012-05-29 15:16:41 -04:00

24 lines
No EOL
703 B
Python

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