2011-08-31 03:46:55 +00:00
|
|
|
from django.conf.urls.defaults import *
|
2011-10-03 16:36:04 +00:00
|
|
|
from frontend.forms import ProfileForm
|
2012-02-01 17:38:41 +00:00
|
|
|
from django.views.generic.simple import direct_to_template
|
2011-11-19 20:10:10 +00:00
|
|
|
from regluit.admin import admin_site
|
2011-11-18 15:41:10 +00:00
|
|
|
|
2011-08-31 03:46:55 +00:00
|
|
|
urlpatterns = patterns('',
|
2011-11-19 16:55:35 +00:00
|
|
|
url(r'^accounts/activate/complete/$','django.contrib.auth.views.login',
|
2011-09-29 03:26:08 +00:00
|
|
|
{'template_name': 'registration/activation_complete.html'}),
|
2011-10-03 16:36:04 +00:00
|
|
|
(r'^accounts/edit/$', 'regluit.frontend.views.edit_user'),
|
2011-09-04 04:21:51 +00:00
|
|
|
(r'^accounts/', include('registration.backends.default.urls')),
|
2011-09-06 01:04:49 +00:00
|
|
|
(r'^socialauth/', include('social_auth.urls')),
|
2012-02-01 17:38:41 +00:00
|
|
|
url(r"^accounts/login/welcome/$", direct_to_template,
|
|
|
|
{'template': 'registration/welcome.html',
|
|
|
|
'extra_context': {'suppress_search_box': True,}
|
|
|
|
}),
|
2011-09-12 22:44:20 +00:00
|
|
|
(r'^api/', include('regluit.api.urls')),
|
2011-08-31 03:46:55 +00:00
|
|
|
(r'', include('regluit.frontend.urls')),
|
2011-11-18 14:22:21 +00:00
|
|
|
(r'', include('regluit.payment.urls')),
|
|
|
|
(r'^selectable/', include('selectable.urls')),
|
2011-11-19 20:10:10 +00:00
|
|
|
url(r'^admin/', include(admin_site.urls)),
|
2011-12-31 03:08:04 +00:00
|
|
|
(r'^comments/', include('django.contrib.comments.urls')),
|
2011-08-31 03:46:55 +00:00
|
|
|
)
|