Hi guys,
This might be best explained by example... for the following model:
class Setting(models.Model):
data_type = models.CharField()
value = models.TextField()
I want Django's admin to display a different form widget for the
"value" field depending on the input of "data_type". For ex
I solved this issue by making the FileField (or ImageField) save the
files into an Apache (or other web server) served directory. Though
obviously this has security implications so I only do this for the
password protected admin.
Hope that helps
cheers, Jon
On Jul 15, 12:33 am, reduxdj wrote:
>
If anyone could make sense of the below traceback, I'd greatly
appreciate it!
Noting that contenttypes is installed (as seen below) but Django says
it isn't (as seen below).
thanks in advance!
Jon
===
Environment:
Request Method: GET
Request URL: http://127.
The error is caused by importing an additional settings module (into
settings.py).
I can't figure out why though... since they are mostly just variables
with string values...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
4 matches
Mail list logo