two comments on Django

2005-09-18 Thread mike45
Hi, I just came across Django a few days ago and found it quite interesting. There are a few things I'd like to note: 1: I followed the tutorial and set up the poll app. After adding several polls and choices via the admin page, that page showed the 'recent actions' list of links. Clicking on th

Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-18 Thread moberley
I tried to set-up a django project using mod_python on Apache/1.3.33 and I can only get mod_python error messages. The admin part displays the following traceback (it works fine with django-admin.py runserver): - Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (mo

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-18 Thread moberley
Sorry, I seem to have forgotten to close my message properly. I've tried searching for information about this, but I was unable to find anything obvious and it's a little bit beyond my knowledge of Apache. Does anyone have any ideas what I might try to make this work? Thanks, Bradley Peters

Re: Table-less model as base class?

2005-09-18 Thread Eric Walstad
Adrian Holovaty wrote: > On 9/18/05, Eric Walstad <[EMAIL PROTECTED]> wrote: [...] > > Is it possible to do what I want, move common fields to a super class, > > without generating a table for that super class? > > It's not currently possible, but that exact functionality is on the > to-do list: h

Re: TurboGears

2005-09-18 Thread Samat Jain
On Sunday 18 September 2005 03:55 am, Andreas wrote: > I just discovered TurboGears, another MVC web development framework > based on Python (turbogears.org). Judging from the 20-Minute-Demo-Video > it seems to be quite similar to Django, although lacking the slick > admin interface. What do you t

Re: Table-less model as base class?

2005-09-18 Thread Robert Wittams
Adrian Holovaty wrote: > On 9/18/05, Eric Walstad <[EMAIL PROTECTED]> wrote: > >>I'd like to make a base class for my model classes that defines some >>fields but doesn't result in a table in the database. If my base class >>is derived from meta.Model, then django makes a table for it in the >>d

RE: New Free Downloads

2005-09-18 Thread scottpierce
I have reported this as spam. Scott Pierce

Re: Table-less model as base class?

2005-09-18 Thread Adrian Holovaty
On 9/18/05, Eric Walstad <[EMAIL PROTECTED]> wrote: > I'd like to make a base class for my model classes that defines some > fields but doesn't result in a table in the database. If my base class > is derived from meta.Model, then django makes a table for it in the > database. > > Is it possible

Table-less model as base class?

2005-09-18 Thread Eric Walstad
Hi all, I'd like to make a base class for my model classes that defines some fields but doesn't result in a table in the database. If my base class is derived from meta.Model, then django makes a table for it in the database. Is it possible to do what I want, move common fields to a super class

Re: befuddled with formfields.py

2005-09-18 Thread scottpierce
I don't know that I would call it hacking around. Yes. There seems to be a lot of stuff within the admin that is not exposed outside of the admin. Manipulators will act accordingly if given formfieldcollections for "inline" tables; however, they aren't exposed outside the admin as they should o

Circular model references (was: Help me checking this model)

2005-09-18 Thread Eric Walstad
Brant Harris wrote: > > How would this model be implemented in Django? The API provides a > > special case where a recursive relationship back to the current entity > > is denoted by ForeignKey('self'), but for the more general case of a > > circular relationship I can't see a way to avoid the Nam

Re: befuddled with formfields.py

2005-09-18 Thread Robert Wittams
scottpierce wrote: > See http://code.djangoproject.com/ticket/338. The patch works. > > Scott Pierce > > So basically, mainipulators are completely useless when it comes to ForeignKeys and ManyToManys and need to be hacked around in the view function? This is a horrible fix. I'm going to fix

New Free Downloads

2005-09-18 Thread Jimm
Hello everyone! After few months of hard work, my site with free downloads is finally up and running. I have tried to create a site that goes right to the point and cuts through all of the software downloads. Having read this group for quite a while, it looks like there are a lot of knowledgeable

TurboGears

2005-09-18 Thread Andreas
I just discovered TurboGears, another MVC web development framework based on Python (turbogears.org). Judging from the 20-Minute-Demo-Video it seems to be quite similar to Django, although lacking the slick admin interface. What do you think about it? How does it compare to Django?

Re: Money or Currency data type

2005-09-18 Thread rapto
Please, never a float. Use Decimal Type. http://www.python.org/peps/pep-0327.html