Now that I created the templates folder, should I take the base.html and index.html files and paste them in this folder?
That being done, how can I edit these files? Is there a particular program to use? On Jun 30, 12:56 pm, Ahmet Emre Aladağ <aladage...@gmail.com> wrote: > On Tue, Jun 30, 2009 at 7:36 PM, Divesh Gidwani <dagidw...@gmail.com> wrote: > > > So I have had a pretty smooth transition so far, but am now stuck when > > at the end of tutorial 2, it asks to specify my directory of tempaltes > > in the settings.py file under the template_dirs tuple. > > > Where are the templates i created stored? > > You can create a directory called templates inside your project [not app] > folder and give its fullpath such as: > /home/divesh/projects/myproject/templates > > An example structure: > -myproject > --myapp > ----views.py > ----models.py > ----urls.py > --templates > ----index.html > ----base.html > ----myapp > ------results.html > ------output.html > --urls.py > --settings.py > --manage.py > --__init__.py --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---