Thanks for the help. A little tip for anyone else who wants to do
this: put models.py in a package. You can't have models.py in the same
directory as the script because django is hard coded to get the
model's package at django.db.models.base.py", line 52, in __new___.

On Aug 20, 4:57 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > I've looked around and haven't found anything on it. Is there a quick
> > way of creating a settings.py file and calling Django's DB API to
> > connect to the database and start using my models? Thanks.
>
> Yes:
>
> http://www.djangoproject.com/documentation/settings/#using-settings-w...
>
> Yours
> Russ Magee %-)


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to