Re: "SuspiciousOperation" Error While Deleting an Uploaded File

2009-02-20 Thread Ty

Turns out the problem was the FileField value. It can't start with a
forward slash, it has to be relative.

On Feb 20, 2:28 pm, Ty  wrote:
> That's the thing... (and I probably should have mentioned this) I'm
> developing on Windows XP using the "manage.py runserver" command to
> serve the files.
>
> On Feb 20, 2:26 pm, garagefan  wrote:
>
> > Apache permissions must be set on the directory. I was having the same
> > issue before I set the directory group to be Apache and gave it RWX
> > privileges
>
> > On Feb 20, 2:21 pm, Ty  wrote:
>
> > > When I login to the administration and try to delete a file I get a
> > > "SuspiciousOperation" error. Here's the 
> > > traceback:http://dpaste.com/123112/
>
> > > Here's my full model:http://dpaste.com/hold/123110/
>
> > > Any help would be appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: "SuspiciousOperation" Error While Deleting an Uploaded File

2009-02-20 Thread Ty

That's the thing... (and I probably should have mentioned this) I'm
developing on Windows XP using the "manage.py runserver" command to
serve the files.

On Feb 20, 2:26 pm, garagefan  wrote:
> Apache permissions must be set on the directory. I was having the same
> issue before I set the directory group to be Apache and gave it RWX
> privileges
>
> On Feb 20, 2:21 pm, Ty  wrote:
>
> > When I login to the administration and try to delete a file I get a
> > "SuspiciousOperation" error. Here's the traceback:http://dpaste.com/123112/
>
> > Here's my full model:http://dpaste.com/hold/123110/
>
> > Any help would be appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: "SuspiciousOperation" Error While Deleting an Uploaded File

2009-02-20 Thread garagefan

Apache permissions must be set on the directory. I was having the same
issue before I set the directory group to be Apache and gave it RWX
privileges

On Feb 20, 2:21 pm, Ty  wrote:
> When I login to the administration and try to delete a file I get a
> "SuspiciousOperation" error. Here's the traceback:http://dpaste.com/123112/
>
> Here's my full model:http://dpaste.com/hold/123110/
>
> Any help would be appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---