Re: CSRF token missing on models with a file/imagefield

2021-12-20 Thread Phoebe Bright
So you are adding these images using the standard DjangoAdmin interface? On Monday, 20 December 2021 at 14:13:23 UTC Yorben Verhoest wrote: > I have a project which is set up on AWS using lambda, s3, ... > > Because it is still in production we are using DjangoAdmin to manage the > data in it.

Stack overflow on delete

2021-12-20 Thread Phoebe Bright
I have a complex model based around an Event object and want to be able to delete an Event and all its associated data. Just calling delete() on the event always leads to a stack overflow so I wrote a custom delete method that goes through each related model and removes links and then deletes

Re: Is this what you would expect from this Q query?

2013-11-15 Thread Phoebe Bright
ebe. On Thursday, 14 November 2013 16:15:31 UTC, akaariai wrote: > > On Thursday, November 14, 2013 2:17:43 PM UTC+2, Phoebe Bright wrote: >> >> After a long time trying to create a simple version that would replicate >> the error, and failing, I've tracked it through the ori

Re: Is this what you would expect from this Q query?

2013-11-14 Thread Phoebe Bright
After a long time trying to create a simple version that would replicate the error, and failing, I've tracked it through the original code. Line 1140 in django/db/models/sql/query.py in function build_filter if current_negated and (lookup_type != 'isnull' or value is False):

Is this what you would expect from this Q query?

2013-11-11 Thread Phoebe Bright
I have this line in my code where the functions return an ID and what I wanted was to select all records that did not belong to one of these users. Carbon.objects.filter(~Q(user__in = [limbo_user(), system_user(), retire_user()])) What I expected to get was *SELECT* •••

Re: Commercial Photo App?

2009-10-12 Thread Phoebe Bright gmail
Daniel, Was hoping more for a good photo app that had a checkout rather than a shop that could sell photos. They will take 100s of photos at each event, so handling the photos - tagging, viewing etc. is important. Phoebe. On 12 Oct 2009, at 12:52, Daniel Roseman wrote: > > On Oct 12, 10:33

Re: Django CMS and Tiny_mce - ERROR 'module' object has no attribute 'JS_URL'

2009-02-18 Thread Phoebe Bright
My experience with setting up tinymce was that there were plenty of plenty of opportunities for getting the paths wrong! To avoid problems I put a dynamic link (ln -s) into the django admin media folder so it could use the defaults. Hope that helps. Phoebe. 2009/2/18 zegerman