regluit/urls.py

16 lines
707 B
Python
Raw Normal View History

from django.conf.urls.defaults import *
from frontend.forms import ProfileForm
urlpatterns = patterns('',
url(r'^accounts/activate/complete/$','django.contrib.auth.views.login',
{'template_name': 'registration/activation_complete.html'}),
(r'^accounts/edit/$', 'regluit.frontend.views.edit_user'),
(r'^accounts/', include('registration.backends.default.urls')),
(r'^socialauth/', include('social_auth.urls')),
(r'^api/', include('regluit.api.urls')),
('^profiles/edit/$', 'profiles.views.edit_profile', {'form_class': ProfileForm,}),
(r'^profiles/', include('profiles.urls')),
(r'', include('regluit.frontend.urls')),
2011-09-27 12:48:11 +00:00
(r'', include('regluit.payment.urls'))
)