You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to configure the subdomain fine, however if I try to load the templates with RequestContext I get error -
NoReverseMatch at /home/
u'social' is not a registered namespace
e.g.
urls.py
urlpatterns = patterns(
'',
url(r'^home/$', 'sampleapp.views.subdomain_home', name='subdomain_home'),
)
If I remove the RequestContext it works fine (though I run into issue with loading my static files). I believe I am not doing something right configuration wise.
Can someone help? happy to provide more details.
The text was updated successfully, but these errors were encountered:
I am able to configure the subdomain fine, however if I try to load the templates with RequestContext I get error -
NoReverseMatch at /home/
u'social' is not a registered namespace
e.g.
urls.py
urlpatterns = patterns(
'',
url(r'^home/$', 'sampleapp.views.subdomain_home', name='subdomain_home'),
)
view
def subdomain_home(request):
return render_to_response(
'subdomain_home.html',
RequestContext(request)
)
If I remove the RequestContext it works fine (though I run into issue with loading my static files). I believe I am not doing something right configuration wise.
Can someone help? happy to provide more details.
The text was updated successfully, but these errors were encountered: