Well, your class User doesn't have an attribute name you are using on the
method __unicode__, you should define and set the attribute name with
something like a textfield
On Apr 13, 2015 3:21 AM, "makayabou" wrote:
> Hello,
>
> Sorry for the previous send unattended...
>
> I have problems trying
Hello,
Sorry for the previous send unattended...
I have problems trying to print values of a QUerySet Object in Admin View.
In admin view, I would like to get a clear list of results,
> as defined in __unicode__ from class User.
> Instead, I get:
>
> >
>
> I just need Jean Dubois..
>
> Here's th
# Je voudrais, dans ma vue admin, avoir un affichage clair des maintenances
# effectuées, qui corresponde à __unicode__ définie dans Ordi
# mais j'ai :
In admin view, I would like to get a clear list of results,
as defined in __unicode__ from class User.
Instead, I get:
>
I just need Jean Duboi
Hi Chase,
Did you try makemigrations and migrate:
$ python manage.py makemigrations
$ python manage.py migrate
You should run them for all modules at first time (do not set any specific
module).
Best regards, Pavel.
I can post code and errors here, but have already posted on
> stackoverflow.co
Hello,
I have a model (FooParent) which has an FK (FooFk) and an inline model
(BazChildInline).
When a user selects a FooFk value and then saves FooParent, I want to use
the value of FooFk to query my app, get related results, and dynamically
add inline entries to BazChildInline.
I'm not sure
5 matches
Mail list logo