Re: Django Settings File - Where is it?

2009-12-17 Thread D. Rick Anderson
Make sure you started a project first: django-admin.py startproject myapp cd myapp vi settings.py On Thu, Dec 17, 2009 at 4:01 PM, reactosguy wrote: > Where is the Django settings file? I read the docs but I am confused. > > -- > > You received this message because you are subscribed to the Goo

Re: Pre-populating forms with foreign keys

2009-12-16 Thread D. Rick Anderson
Not sure on the Django side, but I know that most forum software uses a separate table for threads, having the posts refer back to the thread_id. The first post, would obviously be the topic of the thread. On Wed, Dec 16, 2009 at 9:31 AM, Stewart wrote: > Disclaimer: This is my first Django adve

Legacy Postgres Database and Sequencers

2009-12-15 Thread D. Rick Anderson
Hi all! I'm new to Django (been a Zope developer for years), and I'm working on an app to front-end a legacy postgres database, and running into a few snags. The database uses sequences for all of the PKs, and when I attempt to insert a new record: i = Person(name="Rick", facility_id=123) i.save(