Using inlines on a one to many but not seeing "add another" link

38 views
Skip to first unread message

Dennis Marwood

unread,
Mar 1, 2014, 6:53:41 PM3/1/14
to django...@googlegroups.com
Hello.
Here are my models and admin.py  dpaste.de
And here is the what I am referring to https://docs.djangoproject.com/en/1.6/intro/tutorial02/#customize-the-admin-form
But I my not seeing the link to add another.

Thanks

Dennis Marwood

unread,
Mar 2, 2014, 4:57:17 PM3/2/14
to django...@googlegroups.com
I went back to my original polls app and the link is not there either.
So I spun up a new project and created the polls app again and found the link there.

The only difference between the two apps that I can see is that I created the old one w/ django 1.4.

Camilo Torres

unread,
Mar 2, 2014, 6:40:44 PM3/2/14
to django...@googlegroups.com
On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood wrote:
Hello. 
Here are my models and admin.py  dpaste.de
And here is the what I am referring to https://docs.djangoproject.com/en/1.6/intro/tutorial02/#customize-the-admin-form
But I my not seeing the link to add another. 
On Sunday, March 2, 2014 5:27:17 PM UTC-4:30, Dennis Marwood wrote:
The only difference between the two apps that I can see is that I created the old one w/ django 1.4.

 That is a really _big_ difference, and surely is the cause for your error :)

Regards,
Camilo

Dennis Marwood

unread,
Mar 2, 2014, 7:27:24 PM3/2/14
to django...@googlegroups.com
I tried deleting the db and running syncdb again (even though that will not be a viable fix) and this issue was still present.

Could you explain why this problem appeared and / or how to fix this issue? Did I miss something in the upgrade process? The docs just say to use pip and check the release notes.

Thank you :)

Dennis Marwood

unread,
Mar 6, 2014, 10:36:48 PM3/6/14
to django...@googlegroups.com
I found the answer to my issue, posting it here in case others have the same issue.

The problem was caused by an old version of inline.js being loaded. I ran collectstatic at some point and a version of the script from 1.3 was saved.


On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood wrote:
Reply all
Reply to author
Forward
0 new messages