How to insert an inline in admin with the simple model without fk?

11 views
Skip to first unread message

Gladson Simplício Brito

unread,
Aug 30, 2014, 2:08:23 PM8/30/14
to django...@googlegroups.com

    class Infos(Model):

    created = DateTimeField(auto_now_add=True)
   modified = DateTimeField(auto_now=True)

    name = CharField(max_length=255, blank=False, null=False)

    phone = CharField(max_length=255, blank=False, null=False)
    address
= CharField(max_length=255, blank=False, null=False)

And back in the admin list display the saved objects.
I appreciate the help!
Reply all
Reply to author
Forward
0 new messages