Hello,
I have so far not found any discussion of a particular problem I
encountered. I'm not sure that isn't just me doing something
incorrectly so would appreciate knowing if anyone else has seen this.
I have a pair of models where one inherits from the other (Multi-table
inheritance). The pare
doug wrote:
> the flatpages url must be LAST in the list of urls to try- not sure
> why- but that fixed it.
The flatpages pattern must be at the end of the patterns because an
include pattern forwards the entire portion of the url request
following the matched part. The flatpages pattern is an em
doug wrote:
> I am setting up mod_python on test server and having some problems. I
> am getting 'it worked!' initially- I am able to access admin and set up
> flatpages. But I hit a wall when just trying to do 'polls' app ...
> getting 404s only . No problem when using development server.
>
> te
I'm not familiar with how ForeignKey fields interact with the database,
but I wondered if you could have an instance of the Icon model that
represented no icon (-1). Otherwise, I think you might need to override
the model methods (probably the save() method), but that's just a guess.
--~--~-
No, the paths in my TEMPLATE_DIRS are not relative. That section in the
settings file looks like this:
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates".
"/home/d_admin/django/templates",
)
Hello,
I'm trying to use the extends tag, but only get TemplateSyntaxError:
"Template 'name' cannot be extended, because it doesn't exist". I find
this odd because it only happens with Apache/mod_python, when I test
with "django-admin.py runserver" there are no problems. And, on top of
that, all
Jakub,
Thank you for the suggestion. I was able to have the server I'm using
with Django switched to Apache2 and that did in fact solve the problem
I was having with mod_python.
Thanks,
Bradley Peters.
I tried to set-up a django project using mod_python on Apache/1.3.33
and I can only get mod_python error messages. The admin part displays
the following traceback (it works fine with django-admin.py runserver):
-
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (mo
Sorry, I seem to have forgotten to close my message properly.
I've tried searching for information about this, but I was unable to
find anything obvious and it's a little bit beyond my knowledge of
Apache. Does anyone have any ideas what I might try to make this work?
Thanks,
Bradley Peters
9 matches
Mail list logo