Thanks Malcolm,
I will test it when i get back home :)
Alan
On Jul 31, 9:46 am, Malcolm Tredinnick
wrote:
> On Thu, 2009-07-30 at 12:33 -0700, zayatzz wrote:
> > ... Hello!
>
> > I have a model (profile) which's only required field is its foreignkey
> > - django.contrib.auth.User.
>
> > Follow
On Thu, 2009-07-30 at 12:33 -0700, zayatzz wrote:
> ... Hello!
>
> I have a model (profile) which's only required field is its foreignkey
> - django.contrib.auth.User.
>
> Following the example of forementioned model and its manager i created
> manager for the profile:
>
> class ProfileManager(
I did some thinking over night, but still cant figure this one out on
my own :) If i want to save foreign key like this, then what should i
send to another model, if another object will not work?
Alan.
--~--~-~--~~~---~--~~
You received this message because you are
... Hello!
I have a model (profile) which's only required field is its foreignkey
- django.contrib.auth.User.
Following the example of forementioned model and its manager i created
manager for the profile:
class ProfileManager(models.Manager):
def create_profile(self, username):
4 matches
Mail list logo