Thanks,
I already seen that articles. The main problem I am having with trying to change the flatpage is that the flatpage is already registered. so I cant re-register with a new admin modal. I have an error :
All I want to do is that when I access the FlatPage I would like to have an aditional fields there.
Thanks,
Elad
On Sun, Jan 1, 2012 at 10:27 PM, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:
https://docs.djangoproject.com/en/1.3/releases/1.0-porting-guide/#the-admin
On Sun, Jan 1, 2012 at 9:59 PM, Elad Zucker <elad.zucker@gmail.com> wrote:
--I am learning Django using the book "Practical Django Project". This isn't such an old book but seems to be very out-dated in terms of django. it Uses the old admin interface which I assume was replaced in version 1.0.To make a long story short, one of the example of the book is to add a keyword items to a flatpage model. this is done by doing somthing like that :page = models.ForeignKey(FlatPage, edit_inline=models.STACKED,....)Now, I am trying to do the same using the new admin interface but with no luck. I can use admin.StackedInline but how do I associate it with the flatpage model ?Hope I am clear here.Thanks,Elad
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment