Patrick Ohearn wrote:
> I have tried adding the following lines to by models.py.
>
> author = models.ForeignKey(User)
> author = models.ForeignKey(django.contrib.auth.models.User)
>
> Both to no avail, thank you for your help so far :)
Perhaps a more complete example might help you:
{{{
On Sun, 2007-11-11 at 04:05 -0600, James Bennett wrote:
> On Nov 11, 2007 3:57 AM, Patrick Ohearn <[EMAIL PROTECTED]> wrote:
> > I have tried adding the following lines to by models.py.
> >
> > author = models.ForeignKey(User)
> > author = models.ForeignKey(django.contrib.auth.models.User)
On Nov 11, 2007 3:57 AM, Patrick Ohearn <[EMAIL PROTECTED]> wrote:
> I have tried adding the following lines to by models.py.
>
> author = models.ForeignKey(User)
> author = models.ForeignKey(django.contrib.auth.models.User)
>
> Both to no avail, thank you for your help so far :)
In orde
On Sun, 2007-11-11 at 19:57 +1000, Patrick Ohearn wrote:
> On Sun, 2007-11-11 at 20:39 +1100, Malcolm Tredinnick wrote:
> >
> > On Sun, 2007-11-11 at 01:30 -0800, Patrick Ohearn wrote:
> > > I am writing a simple blog application with Django 0.96. I intend to
> > > use
> > > the built in Admin p
On Sun, 2007-11-11 at 20:39 +1100, Malcolm Tredinnick wrote:
>
> On Sun, 2007-11-11 at 01:30 -0800, Patrick Ohearn wrote:
> > I am writing a simple blog application with Django 0.96. I intend to
> > use
> > the built in Admin page to manage my blog, so I wish to use Django's
> > User Authenticati
On Sun, 2007-11-11 at 01:30 -0800, Patrick Ohearn wrote:
> I am writing a simple blog application with Django 0.96. I intend to
> use
> the built in Admin page to manage my blog, so I wish to use Django's
> User Authentication system. In my Blog model I need to make a
> relationship for my 'user'
I am writing a simple blog application with Django 0.96. I intend to
use
the built in Admin page to manage my blog, so I wish to use Django's
User Authentication system. In my Blog model I need to make a
relationship for my 'user' field to the auth_user table, but I can not
find the model name to
7 matches
Mail list logo