Suppose I have choicefield in my django model which consist of several choices.
Now in future if I changed the existing choice (option) with some other name
(choice), then whether the existing records in model with that choice(option)
will also change? Or In admin page I need to set that new op
I want to display the current url in django template. I tried
{{request.get_full_path}} but this is not working with me. Any solution?
--
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@googlegroup
I'm assigning initial data to the field of each formset dynamically. But when
I'm trying to save that initial data it's throwing "Key Error" in cleaned data.
Any solution?
Here is the code:
In views.py
for form in formset.forms:
question = form.save(commit=Fal
3 matches
Mail list logo