mod_python install problems OS X

2006-07-15 Thread Vixiom
Hi, I'm following this tutorial http://cavedoni.com/2005/django-osx and when I'm installing mod_python I get this error from 'make' apxs:Error: Command failed with rc=65536 my installation pf Apache 2 is in a different place '/library/apache2' not 'usr/local/apache2' (but I did change the conf

admin css

2006-07-17 Thread Vixiom
nged settings.py as below # TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates". # Always use forward slashes, even on Windows, use absolute path. "/Users/Vixiom/django/mysite/interface/admin/templates/", ) # That's all cool my temp

sort custom list display column

2006-07-21 Thread Vixiom
Hi, I have a 'Product' model that has the following list_display list_display = ('title','category','price_adjusted', 'on_sale', 'featured', 'visible') 'price_adjusted' is the following method def price_adjusted(self): if self.on_sale: return self.sale_p

Blank page for admin

2006-07-24 Thread Vixiom
I'm getting a blank page when going to domain.com/testapp/admin, no errors just a blank page (blank as well if you view source). I've tested Django using the manage.py shell and it's working, I've also checked for the admin tables in the database and they're all there. At first I received errors

Re: Blank page for admin

2006-07-24 Thread Vixiom
It's VPS hosting so I'm not sure where the dev server would (or even could) be viewed from? I tried mydomain.com:8000 and IPaddress:8000 neither of those came up --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: Blank page for admin

2006-07-24 Thread Vixiom
I've (unfortunatly) found the cause of the problem, at first python through MySQLdb wasn't hooking up with the database. Just as a test I installed SQLite, which was a chore and a half because of Tcl errors, anyways I installed SQLite synced the db and then went to try the admin page again. This

Re: Blank page for admin

2006-07-24 Thread Vixiom
ok I upgrade expat so apache's and python's match. no more segement errors but my resource usage still goes throught the roof when I try to load a page. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"