ModelAdmin.get_urls()

2009-05-05 Thread modelmike
Hi, I am successfully running 1.1 beta 1 SVN-10679. (I checked by issuing 'django.get_version()' within the Python interpreter after importing django; 'import django'.) I do not understand the documentation for ModelAdmin.get_urls(self) and maybe this post can help elucidate the section

Re: Separate Admin for each Site

2009-05-07 Thread modelmike
Hi, How do I instantiate AdminSite for my app and then subclass ModelAdmin? my_site.py... from django.contrib.admin import sites class my_admin_instance(sites.AdminSite) pass admin.py... from my_django_project.my_django_dpp.my_site import my_admin_instance

Re: Separate Admin for each Site

2009-05-07 Thread modelmike
Hi, How do I instantiate AdminSite for my app and then subclass ModelAdmin? my_site.py... from django.contrib.admin import sites class my_admin_instance(sites.AdminSite) pass admin.py... from my_django_project.my_django_app.my_site import my_admin_instance

Re: admin inlines saving empty objects

2009-05-07 Thread modelmike
I, also, am receiving inexplicable "Please correct the errors below" messages within templates with inlines that contain fields with 'blank=True' and / or 'null=True'. The messages appear about every third or fourth save attempt that involves empty strings. But I'm unsure. The bug is difficult

Oracle 10g Release 2 ignored 'primary_key=True'

2009-05-15 Thread modelmike
How do I use 'primary_key=True' with Oracle 10g R2 to create a primary key on a custom field instead of on the default ID field? 'python manage.py sqlall ' shows that Django's SQL generation correctly assigns the PRIMARY KEY attribute to the 'primary_key=True' field that I list in my class

Raw SQL is okay but .objects.all() returns only two of 2933 rows

2009-06-04 Thread modelmike
Hi, I am running svn revision 10924 on Windows Server 2008 with Oracle 10g release 2. Using inspectdb, I created a model for an Oracle table. When I issue .objects.all() for the new model, the records returned are records added using either the Python interpreter or the Django admin. None of

GeoDjango Job Posting

2009-07-17 Thread modelmike
Extend a Django Web site currently on PostgreSQL by adding GeoDjango mapping features. The application tracks large whale rescues and is based out of the U.S. National Marine Fisheries Service office in Gloucester, Massachusetts. You can email me for more information or contact the contracting