Curious error

2007-01-01 Thread Ramdas S
I got this model class billnumber(models.Model): date = models.DateTimeField(auto_now_add=True, primary_key = True) def __str__(self): return self.id class Admin: pass class Meta: ordering = ['-date',] Trying to populate the table using Admin This is throwin

Curious Error

2007-01-01 Thread Ramdas S
I got this model class billnumber(models.Model): date = models.DateTimeField(auto_now_add=True, primary_key = True) def __str__(self): return self.id class Admin: pass class Meta: ordering = ['-date',] Trying to populate the table using Admin This is throwin

FATAL: sorry, too many clients already

2007-01-01 Thread krypton
getting the errror psycopg2.OperationalError at /login FATAL: sorry, too many clients already Python build/bdist.linux-i686/egg/DBUtils/SteadyDB.py in __init__, line 113 anyone see this i have DBUtils installed am using flup and my postgresql.conf file is this max_connections = 1024 shared_

Re: Is the software behind the Djangobook available?

2007-01-01 Thread Filipe Correia
Just for the record, I would also be very interested in this! Do you have plans of building into it some way of exporting to other more format, that might be more manageable for print? (like for instance docbook or latex) Cheers, Filipe On Dec 28 2006, 9:08 am, "tekNico" <[EMAIL PROTECTED]> wro

Re: Not all Apps Loaded in Admin Interface?

2007-01-01 Thread [EMAIL PROTECTED]
It looks like there may be some funky problem with imports. The models.py file imports some external modules that in turn import the models.py file. Removing the functions that rely on this import and then removing the import make the admin interface work again, but I lose a lot of important func

Re: Not all Apps Loaded in Admin Interface?

2007-01-01 Thread [EMAIL PROTECTED]
As far as code goes, here's the module in question: http://evennia.googlecode.com/svn/trunk/evennia/trunk/apps/objects/models.py The Subversion trunk is at: http://evennia.googlecode.com/svn/trunk/evennia/trunk/ I'm open to ideas! On Dec 30 2006, 2:35 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]

google maps - python

2007-01-01 Thread ashwoods
I was searching for a google maps wrapper for the google API but didn't find any. I started writing it myself but my python is very poor so I would appreciate any tips, as I guess this is something more than myself might like :) this makes adding google maps with django as easy as: -- something

Socket error runing runfcgi from manager

2007-01-01 Thread Cam
See this error periodically - something to be concerned about? All pages render as expected. Traceback (most recent call last): File "./manage.py", line 11, in ? execute_manager(settings) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/manage

Re: In Model or Manager? (Sorting, calculations, and non-savable fields)

2007-01-01 Thread Jacob Kaplan-Moss
On 12/31/06 12:33 PM, ringemup wrote: I'm working on a fairly data-heavy (as opposed to content-heavy) application, and I'm trying to create some reusable code for sortable HTML tables ^^^ ... Or does this belong somewhere else entirely (like a specialized method for each view)?