I’ve googled formfield_for_foreignkey on many occasions to look up what parameters it accepts, but it always fails me.
I bet you anything posting this blog will make it to the top of the google results and serve as a redirect : )
The docs on formfield for foreignkey:
http://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_foreignkey
The docs on formfield for manytomany:
http://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_manytomany
The docs on formfield for choice field:
http://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_choice_field
Published by Yuji Tomita
I'm a human person. I excel in crafting holistic technology solutions that extend beyond a narrow technical scope.
View all posts by Yuji Tomita
“I bet you anything posting this blog will make it to the top of the google results and serve as a redirect”
welp, guess I owe you an “anything” 😛