super(Merchant, self).save(force_insert=True)
solved the problem!
On Monday, September 1, 2014 2:15:22 PM UTC+8, Ikaros andi wrote:
>
> I debug into save method and find:
>
> ValueError: "" needs to have a value for field "user"
> before this ma
I debug into save method and find:
ValueError: "" needs to have a value for field "user"
before this many-to-many relationship can be used.
Merchant have already been super saved. I can figure it out
On Wednesday, August 27, 2014 10:08:15 PM UTC+8, Collin Anderson wrote:
>
> i assume "groups
I want create a user with custom group in django admin. so I write below
code:
from django.contrib.auth.models import User as AuthUserfrom
django.contrib.auth.models import Group
# These groups have already been created while project start.class
TestGroup(object):
Admin = 'Admin'
3 matches
Mail list logo