Questions About Blog Example

34 views
Skip to first unread message

Mark Phillips

unread,
May 9, 2012, 9:08:48 PM5/9/12
to django-rest users
I created my own local blog app by copying the code from the django-rest example so I could understand how it works. I am very new to django and django-rest. 

My first question, is why, when I use the admin interface, can't I add a comment that is related to a blog post? I have experimented with other models similar to this one, where there are two models and foreign key., The admin interface provides a way to enter data into the model where it takes care of the foreign key reference and allows a user to enter data correctly into the model. In the admin interface, the comment model does not allow one to link a comment to a blogpost.

Thanks,

Mark
Reply all
Reply to author
Forward
0 new messages