Re:

2012-12-22 Thread vinoth kumar renganathan
in my TEMPLATE_DIRS = '/home/projectname/polls/template' i written like this is it correct or not -- 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

Re: [offtopic] put a title

2012-12-22 Thread Ivan Ivanov
Just a little hint – it woud be good, when you put an informative title of your emails, so the people can orient what the topic of the email is. Best wishes! Ivan На Sat, 22 Dec 2012 10:16:16 +0530 vinoth kumar renganathan написа: > i am new user to django .and i don't know how to add .ht

Re:

2012-12-22 Thread djangobie
My recommendations (as you're at the starting point, 'd be easy to adjust), don't place your 'Templates' folder in app folder, but place it one level up i.e. *Basic Project map:* -- myproject/- --mypro

Re:

2012-12-22 Thread djangobie
as you're practicing the exactly the 'building the first app' tutorial, you've placed your templates wrong. Move your 'Templates' folder one directory UP. On Saturday, December 22, 2012 9:46:16 AM UTC+5, vinoth kumar renganathan wrote: > > i am new user to django .and i don't know how to add

Re:

2012-12-22 Thread vinoth kumar renganathan
thank you bro it is working i tested so many times. but in the previous cases i didn't added machine name to the TEMPLATE_DIR in the settings.py -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: DateTimeField(auto_now_add=True) and admin page

2012-12-22 Thread arthur_mwai
Readonly doesn't offer flexibility at all sadly. @ DC,i have been experiencing the same problem,but funny thing is other projects prior to this one displayed DateTimeField() on the admin just fine. On Sunday, 11 December 2011 01:53:55 UTC+3, DC wrote: > > Hello Amit, > > Yes, this is solution

New to Django / Web Development [ Confused About When to Store To Database For Static Content]

2012-12-22 Thread Django Son
Hi there, :) I'm a complete beginner at webdev and had a question about when to store to a database for content that seldom changes. I understand the need to access and modify a database for dynamic content but what about static content? For instance, lets say my website has a large number of p

Re: New to Django / Web Development [ Confused About When to Store To Database For Static Content]

2012-12-22 Thread Russell Keith-Magee
On Sun, Dec 23, 2012 at 7:43 AM, Django Son < i.ask.django.questi...@gmail.com> wrote: > Hi there, :) > > I'm a complete beginner at webdev and had a question about when to store > to a database for content that seldom changes. I understand the need to > access and modify a database for dynamic co

Re: New to Django / Web Development [ Confused About When to Store To Database For Static Content]

2012-12-22 Thread Gerald Klein
I think you answered the question yourself, if something rarely changes the only reason to store it in a db would be for convenience. Static pages are more successfully cached. ---jerry On Sat, Dec 22, 2012 at 5:43 PM, Django Son < i.ask.django.questi...@gmail.com> wrote: > Hi there, :) > > I'm

Is their an easy way to implement an ordered list of, say, urls in Django

2012-12-22 Thread Doug S
Hi I'm still a newbie but I'm pretty sure this is not a really really stupid question. I want to store an ordered list of items in my models and allow insertions and appending to the end of the list. I'm aware that often with ordered data the implementation is nice and clean where you store the it