admin fieldsets ?

2010-05-20 Thread paul wisehart
I'm really liking customizing the admin. I would like to know if I could use the change_view.html template with my own form data. My question is how do I setup a fieldset from some arbitrary form such that I can pass it to a change_view.html page. I see that there is a admin/includes/fieldset.ht

Re: using id as a model field name ?

2009-05-08 Thread paul wisehart
awesome, thanks for the replies! --paul --~--~-~--~~~---~--~~ 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 em

using id as a model field name ?

2009-05-08 Thread paul wisehart
I didn't realize that id was a python builtin function. I have a large pre-existing database that I wrote a bunch of models for. I used 'id' as the primary key field for all of them. """ class SalesQuoteItemDetail(models.Model): id = models.AutoField(primary_key=True, db_column='ID') ..