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:
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
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 "/
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-
4 matches
Mail list logo