Thanks for the explaination.
On Jun 21, 5:53 am, Reiner wrote:
> For 2.:
>
> I didn't try it, but if you're putting the path in quotes, include
> tries to import it by itself, but there is no module named admin. It
> is django.contrib.admin. admin.site.urls without quotes works, because
> you pr
For 2.:
I didn't try it, but if you're putting the path in quotes, include
tries to import it by itself, but there is no module named admin. It
is django.contrib.admin. admin.site.urls without quotes works, because
you probably allready imported it, e.g. to use admin.autodiscover().
That's the re
For 1., did you import play_django?
On Jun 21, 11:17 am, tekion wrote:
> All,
> I noticed that putting single quote around include argument makes a
> different, for example:
> (r'^admin/', include(admin.site.urls)),
> (r'^polls/', include('play_django.polls.urls')),
> works. Where as:
> (r'^
3 matches
Mail list logo