Re: Money or Currency data type

2005-09-16 Thread Adrian Holovaty
On 9/16/05, Matthew Marshall <[EMAIL PROTECTED]> wrote: > > What are you all using to store currency data? > > > > Any tips on how best to write my own meta.DollarField class? > > I went with the first solution that came to mind: > meta.FloatField(decimal_places=2) > [...] > Is there any reason n

Re: Money or Currency data type

2005-09-16 Thread Matthew Marshall
On Saturday 17 September 2005 01:00 am, Eric Walstad wrote: > Hi, > > I didn't find any reference to money or currency data types in the > django source, nor in the list archives. My app needs to store US > Dollars. > > What are you all using to store currency data? > > Any tips on how best to wr

Money or Currency data type

2005-09-16 Thread Eric Walstad
Hi, I didn't find any reference to money or currency data types in the django source, nor in the list archives. My app needs to store US Dollars. What are you all using to store currency data? Any tips on how best to write my own meta.DollarField class? Thanks in advance, Eric.

Re: Django-powered sites on the wiki

2005-09-16 Thread Jeremy Dunck
On 9/16/05, nszabolcs <[EMAIL PROTECTED]> wrote: > > hmm > i cant see http://www.djangoproject.com/ > it's powered by django, isn't it ? Yes, and the page is a wiki, too. ;-)

Re: Django-powered sites on the wiki

2005-09-16 Thread nszabolcs
hmm i cant see http://www.djangoproject.com/ it's powered by django, isn't it ?

befuddled with formfields.py

2005-09-16 Thread Robert Wittams
I have a problem wherein no select field is prepopulated in any update form, or a create form where I provide some already filled fields. I investigated this, and now I have no idea how this has ever worked : in http://code.djangoproject.com/browser/django/trunk/django/core/formfields.py#l114

Re: deleting an image

2005-09-16 Thread Adrian Holovaty
On 9/16/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > i have an optional imagefield in a model. I enter an image there. Later > i want to delete the image (not replace it). Can i do that through the > admin interface? Or do i have to do it manually? There's currently no way to "clear" the va

Re: Packaging django apps

2005-09-16 Thread nichyoung
On thinking about it the problems were with easy install's use of .pth files rather than with eggs - only ever having used eggs in combination with easy install I'm almost certainly thinking of that. Nick

deleting an image

2005-09-16 Thread Kenneth Gonsalves
hi, i have an optional imagefield in a model. I enter an image there. Later i want to delete the image (not replace it). Can i do that through the admin interface? Or do i have to do it manually? -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ

Re: path conflicts using mod_python

2005-09-16 Thread Kenneth Gonsalves
On Friday 16 Sep 2005 2:40 pm, Marcos Sánchez Provencio wrote: > >From http://www.djangoproject.com/documentation/modpython/ > > If you need to put two Django installations within the same > VirtualHost, you'll need to take a special precaution to ensure > mod_python's cache doesn't mess things up

Re: path conflicts using mod_python

2005-09-16 Thread Marcos Sánchez Provencio
>From http://www.djangoproject.com/documentation/modpython/ If you need to put two Django installations within the same VirtualHost, you'll need to take a special precaution to ensure mod_python's cache doesn't mess things up. Use the PythonInterpreter directive to give different directives sepa

path conflicts using mod_python

2005-09-16 Thread Kenneth Gonsalves
hi, i am running both the admin and the site itself using apache and mod_python. I do the admin in firefox and view the site in konqueror. I find that every now and then, either the admin url tries to look up the site url and vice versa. I have to restart apache to get the correct url. How do