admin.autodiscover()
urlpatterns = patterns('',
- url(r'^$', home, name='home'),
- url(r'^done/$', done, name='done'),
+ url(r'^$', home, name='home'),
+ url(r'^done/$', done, name='done'),
url(r'^error/$', error, name='error'),
- url(r'^logout/$', logout, name='logout'),
+ url(r'^logout/$', logout, name='logout'),
url(r'^admin/', include(admin.site.urls)),
url(r'', include('social_auth.urls')),
)
attrs = dict(attributes)
if self.in_form(attrs):
# flag that we are inside the form and save action
- self.inside_form = True
+ self.inside_form = True
self.action = attrs.get('action')
def in_form(self, attrs):