Skip to content

🐍 A Django boilerplate with User Registeration, Login and Password change views. Uses django.auth

License

Notifications You must be signed in to change notification settings

vigzmv/Django-Users-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Users Boilerplate

Open Source Love    license    contributions welcome

A Django boilerplate with User Registeration, Login and Password change views.

This boilerplate can be used to create Django projects with user management quicker.

Usage

# Get project locally
$ git clone https://github.com/vigzmv/Django-Users-boilerplate.git

# Rename directory
$ mv Django-Users-boilerplate **Your_project_dir_name**
$ cd **Your_project_dir_name**

# Install requirements
$ pip install -r requirements.txt

# Runserver
$ python manage.py runserver

# Done! Make required changes in 'App' as required to create your Django App.

Customisation

User registration fields

The fields of User object can be changed by editing the required 'fields' in App/forms.py.

class UserSignUpForm(forms.ModelForm):
 class Meta:
  model = User
    
  # change fields of User Object here
  fields = ('username','password','email','first_name','last_name',)
  
  help_texts = {
   'username': None,
   }
  widgets = {
  'password':forms.PasswordInput(),
  }

Refer Docs: https://docs.djangoproject.com/en/1.10/ref/contrib/auth/

Also included

  • bootstrap-v3.3.6-min.css
  • bootstrap-v3.3.6-min.js
  • jquery-v2.2.0.min.js

About

🐍 A Django boilerplate with User Registeration, Login and Password change views. Uses django.auth

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages