how to initialize input form fields using URL parameters

2023-01-22 Thread Andrew Brown
I am trying to pass initial values to my form set via URL Query ex) Localhost:8000?/First_name_id_0=Samuel [image: forms.py.png] I was told to use the initial parameter and not the instance in my view first "An inline formset is related to one instance of the parent model. You identify

Registering Signal Receivers When Running Tests

2013-06-13 Thread Andrew Brown
Hi all, I'm running into a problem registering signal receivers when running my tests using django-nose. If I run the tests on a specific app ('manage.py test ') everything works fine, but if I run the tests across the whole project ('manage.py test') none of my signal receivers get registered

Admin UI Improvements for Ordered List Using Through Inline?

2012-12-01 Thread Andrew Brown
Greetings, I'm hopeful someone can point me in the right direction to improve the admin UI for my app. I need to allow for the creation and display of an ordered list of books. I had no problem setting this up and editing the lists in the admin UI, but the UX for an admin leaves much to be