{% block title %}{{ user.username }}{% endblock %}
{% block content %}
{{ user.username }}
{% csrf_token %}
{{ form|crispy }}
Update
{% endblock %}
On Friday, November 30, 2018 at 5:06:33 PM UTC-5, Jim Wombles wrote:
>
> For some reason
For some reason, the updateview will save all of the other user fields (and
update them if changed) to the database. Do I need to handle the
user.photo field differently?
# views.py
class UserUpdateView(LoginRequiredMixin, UpdateView):
model = User
fields = ["name", "photo", "city", "
Two Scoops of Django is definitely the book you are looking for. I don't know
if it's out for 1.7 yet, but I purchased the book for Django 1.6 and it covers
l of the best practices that you won't read about just from the Django docs.
--
You received this message because you are subscribed to t
manage.py runserver?
>
> Cheers,
>
> JJ
>
> On Tuesday, October 2, 2012 11:23:11 PM UTC-4, Jim Wombles wrote:
>>
>> Greetings,
>>
>> I am at a loss as to why local server is unable to render the css and js
>> files. I have the static_dirs setting correct
Greetings,
I am at a loss as to why local server is unable to render the css and js
files. I have the static_dirs setting correct and the href link to the
files is correct, and the html file is rendering yet when I track what is
going on with Chrome Dev Tools it is unable to find the CSS and JS f
5 matches
Mail list logo