file upload in 0.91 - form widget connection??

2006-05-12 Thread Frank Miles
As part of my web-app, I would like to allow users to upload files. Towards this end I have a model field: zipfile = meta.FileField(upload_to =".") This has a custom manipulator with the field line: formfields.FileUploadField(field_name="zipfile"), and a template entry of:

django-admin init won't

2006-04-04 Thread Frank Miles
Newbie problem ... While django-admin.py startproject myproject worked, other django-admin actions (e.g. init -- for setting up user authentication) don't. I tried setting DJANGO_SETTINGS_MODULE using both '/' and dotted directory notation, and using long and short paths to the settings file, an

Re: Apache vs. Django ?

2006-03-15 Thread Frank Miles
Thanks, Ian, for trying. Following your recommendation to SetEnv DJANGO_SETTINGS_MODULE myproject.settings then on the first try the error message becomes: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/

Apache vs. Django ?

2006-03-14 Thread Frank Miles
Hi, I am new to Django. The tutorial all went fine, but I'm having no success in getting Apache to yield anything useful. I have probably done something truly stupid -- and hopefully obvious -- and would appreciate someone pointing out my error(s). System: Debian/Linux (Etch/testing: Apache-