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
It's there already Johan, it's not something to look forward to
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://
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/
This sounds useful, and it's a simple, solid design. Good stuff.
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
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
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.
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
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(
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
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
12 matches
Mail list logo