|
Revision 20, 0.7 KB
(checked in by scater, 4 years ago)
|
|
move folders into trunk
|
| Line | |
|---|
| 1 | from django.conf.urls.defaults import * #IGNORE:W0614 - need to import everything, django Ticket #5350 |
|---|
| 2 | from django.conf import settings |
|---|
| 3 | from django.views.generic.simple import direct_to_template |
|---|
| 4 | |
|---|
| 5 | from django.contrib import admin |
|---|
| 6 | admin.autodiscover() |
|---|
| 7 | |
|---|
| 8 | urlpatterns = patterns('', |
|---|
| 9 | ('^admin/(.*)', admin.site.root), |
|---|
| 10 | (r'^captcha/', include('apps.plesonet_captcha.urls')), |
|---|
| 11 | |
|---|
| 12 | # accounts, profiles, registration, avatars |
|---|
| 13 | (r'^profiles/', include('apps.profiles.urls')), |
|---|
| 14 | (r'^registration/', include('apps.registration.urls')), |
|---|
| 15 | (r'^avatar/', include('apps.avatar.urls')), |
|---|
| 16 | |
|---|
| 17 | #main page |
|---|
| 18 | (r'^$', direct_to_template, {'template': 'index.html'}), |
|---|
| 19 | ) |
|---|