August 7, 2008
This barely qualifies for a blog post, but what to do if you loaded, via django-admin.py loaddata
a full json file from someone during testing, and don’t have their user’s password?
Just run the django-admin.py shell, and by hand reset all the passwords:
from django.contrib.auth.models import User
for u in Users:
u.set_password(’secret’)
u.save()
That’s why you have to keep your shell login [...]
Read the full article →
June 29, 2008
I gave a short presentation on Django to the Cambridge Python Users group earlier. Nate has a great writeup of the event and the other presentations that evening. I just want to share the slides here. The slides are just visual reminders and do not stand on their own. If you want more info free [...]
Read the full article →