Blog categories
- Web development (13)
- Python (9)
- Django (8)
- Javascript (4)
- HTML (3)
- jQuery (3)
- MongoDB (3)
- PHP (2)
- MySQL (2)
- Linux (1)
- GridFS (1)
- GD (1)
- VLC (1)
- Mac OS (1)
- IPTV (1)
- Ubuntu (1)
-
Creating an inline password change for a User ModelForm
Created by dan on Sunday 1st November, 2009 at 3:26 PM
I've always wondered why when creating a ModelForm for a User, that by default, there's just a single password field. Furthermore, when saving the form with this field populated, the password is overwritten with the raw value, not the encrypted value. So, I set about to provide the users of ...
-
Database transactions in Django
Created by dan on Thursday 29th October, 2009 at 3:11 PM
I've come to the point where I really need to go down the route of using database transactions for a few operations carried out on my Django project. As always, a simple search for 'django database transactions' in Google returns a, somewhat relieving official Django page with the documentation for ...