problem with ImageField

2005-09-14 Thread lawgon
I am having a problem with ImageField saving. I am running admin from mod_python with apache2. I put an absolute path to the 'upload_to' option. When i press save, the imagefile gets uploaded to the directory specified in the 'upload_to' option, but this does not get saved in the database table. I

Re: auto-generated template for generic views

2005-09-14 Thread Boffbowsh
It's there already Johan, it's not something to look forward to

Re: svn access to django_website

2005-09-14 Thread tonemcd
I do apologise - when I downloaded the django source code I was at home where I don't use a proxy. At work I do use a proxy, but thought that my bash-enabled 'http_proxy' environment variable would do the trick. Not so, subversion has it's own proxy mechanism in ~/.subversion/servers See http://

Django-powered sites on the wiki

2005-09-14 Thread Simon Willison
I've started a list of public websites powered by Django on the development wiki: Django powered sites Please add your Django-powered site if it's not already listed. Cheers, Simon Willison http://simon.incutio.com/

Re: app repository

2005-09-14 Thread [EMAIL PROTECTED]
This sounds useful, and it's a simple, solid design. Good stuff.

Re: auto-generated template for generic views

2005-09-14 Thread Andreas
Boffbowsh wrote: > It's there already Johan How does it work? As far as I can see it's already possible to create an admin-like index view. Auto-generated templates for the CRUD generic views would be extremely useful, but I don't see how you would create them with the current Django version. An

Re: problem with ImageField

2005-09-14 Thread Matthew Marshall
On Wednesday 14 September 2005 08:25 am, lawgon wrote: > File > "/usr/local/lib/python2.4/site-packages/django/core/meta/fields.py", > line 320, in get_db_prep_save > value = value.strftime('%Y-%m-%d') > > AttributeError: 'str' object has no attribute 'strftime' > > i realise that this has so

Re: wysiwyg editor

2005-09-14 Thread Igor Goryachieff
On Mon, Sep 12, 2005 at 02:57:53PM -0500, Eugene Lazutkin wrote: > I use TinyMCE (http://tinymce.moxiecode.com/). It's not without quirks but > it is useable. > > You should include js in your model like that: [...] Eugene, Could you be so kind to add this recipe into wiki CookBook? Thanks.

Re: Django-powered sites on the wiki

2005-09-14 Thread Simon Willison
On 9/14/05, Simon Willison <[EMAIL PROTECTED]> wrote: > I've started a list of public websites powered by Django on the > development wiki: Here's the link: http://code.djangoproject.com/wiki/DjangoPoweredSites

Re: Recursive templates?

2005-09-14 Thread [EMAIL PROTECTED]
I've been having a similar issue, with a MenuLink class that has a self referencing foreign key, with null=True specified (I think your example needs that too). I tried menulinks.get_list(parent_id__exact = None), and it didn't work. Specifying the SQL manually works though: menulinks.get_list(

Re: wysiwyg editor

2005-09-14 Thread Eugene Lazutkin
Done. http://code.djangoproject.com/wiki/CookBookAdminTools "Igor Goryachieff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Mon, Sep 12, 2005 at 02:57:53PM -0500, Eugene Lazutkin wrote: >> I use TinyMCE (http://tinymce.moxiecode.com/). It's not without quirks >> but >> it

Re: problem with ImageField

2005-09-14 Thread Kenneth Gonsalves
On Wednesday 14 Sep 2005 4:25 pm, Matthew Marshall wrote: > On Wednesday 14 September 2005 08:25 am, lawgon wrote: > > > > File > > "/usr/local/lib/python2.4/site-packages/django/core/meta/fields.py" > >, line 320, in get_db_prep_save > > value = value.strftime('%Y-%m-%d') > > > > AttributeEr