Hi
I just face this same issue and stuck in it for few days, than find out the
TEMPLATE_LOADERS
setting,
by default it has two way to find templates:
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader'
but the
Try restarting the web server after installing your new polls package.
I was stuck on this problem for a bit. You probably don't care anymore
since this thread is over a year old. But I thought it might be useful to
others.
On Friday, 26 July 2013 20:20:26 UTC-4, Cate Liu wrote:
>
>
> I am a
Faced the same problem with the Django 1.6 tutorial... circumvented it by
renaming "index.html" to "poll_list.html".
Read on if you want to know more about this issue...
It seems there is a problem with the template loader, or the specification
of which template to load for the
hi,guys
u should read this content:
https://docs.djangoproject.com/en/1.0/intro/tutorial04/
> We’re using two generic views here: object_list() and object_detail().
> Respectively, those two views abstract the concepts of “display a list of
> objects” and “display a detail page for a
hi, guys
hoped this may help you.
https://docs.djangoproject.com/en/1.0/intro/tutorial04/
> We’re using two generic views here: object_list() and object_detail().
> Respectively, those two views abstract the concepts of “display a list of
> objects” and “display a detail page for a particular
Hi Cate,
I had the same issue while following the tutorial:
https://docs.djangoproject.com/en/1.5/intro/reusable-apps/
A friend of mine explained that it was coming from the packaging. Using
setuptools/distribute creates 'eggs'.
If you did not solve the issue yet, you can try to add the
In order to create a reusable app, you have to create a new 'templates'
folder in your app and place the the absolute path in the templates
directory in your settings.py. And then create the html files as concerned
with your app in the templates directory you created within the app.
Robin
On
Hello. I'm a rookie as well and I'm having exactly this same issue.
Trying to figure out what to do, but haven't been successful
unfortunately. Based on what I read (convention over configuration), I
understand that I should to make a poll_list.html file and store this in
templates, to get
Django is using a coding "style" called covention over configuration. That
means that you don't have to configure every bit of your application instead a
convention is used to determine where you have to place stuff so django finds
and uses it. For the beginner it seems like django is using
On 27/07/2013 10:20am, Cate Liu wrote:
I am a new newbie to Django. Great tutorial BTW. I followed it to the
T and 99.9% worked.
Except the last step in the Advanced tutorial, the step 3 in 'Using your
own package'.
I could see http://127.0.0.1:8000/admin/ and create polls without any
I am a new newbie to Django. Great tutorial BTW. I followed it to the T
and 99.9% worked.
Except the last step in the Advanced tutorial, the step 3 in 'Using your
own package'.
I could see http://127.0.0.1:8000/admin/ and create polls without any
problem.
But http://127.0.0.1:8000/polls/
11 matches
Mail list logo