> sudo update-alternatives --config editor
> passwd
> adduser hotstuff
> visudo
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
createuser -d -A -P $DB_USER | |
createdb -U $DB_USER -E utf8 -O $DB_USER $DB_NAME -T template0 |
You'll need these libraries
class UserProfile(models.Model): | |
user = models.OneToOneField(User) | |
avatar = models.ImageField(upload_to='profile_images', blank=True) | |
def __unicode__(self): | |
return self.user.username | |
class RegistrationForm(forms.Form): |