Skip to content

simple Django app for accounts handle login & SingUp & logout and User Profil tow

License

Notifications You must be signed in to change notification settings

mhadiahmed/accounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-esay-account

django logo

see it on pypi

django-esay-account is a simple Django app for accounts handle login & SingUp & logout and User Profil tow

to install the application

first check the requirements file

pip install django-esay-account

install

Quick start

  1. Add "django-esay-account" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [ ...

'crispy_forms',

'account', ]

add this line for the crispy_froms

CRISPY_TEMPLATE_PACK = 'bootstrap3'

install

  1. Include the accounts URLconf in your project urls.py like this::

url(r'^', include('account.urls')),

install

  1. add this 6 lines at the bottom in the settings files to handel the password reset.

EMAIL_BACKEND ='django.core.mail.backends.console.EmailBackend'

DEFAULT_FROM_EMAIL = '[email protected]'

EMAIL_HOST_USER = ''

EMAIL_HOST_PASSWORD = ''

EMAIL_USE_TLS = False

EMAIL_PORT = 1025

  • and this line for define the media path

MEDIA_URL = '/media/'

install

  1. Run python manage.py migrate to create the django-esay-account models.

install

  1. create super user

install

  1. Start the development server and visit http://127.0.0.1:8000/admin/ to create a django-esay-account (you'll need the Admin app enabled).

install

  1. Visit http://127.0.0.1:8000/login/ to test the django-esay-account.

install

About

simple Django app for accounts handle login & SingUp & logout and User Profil tow

Resources

License

Stars

Watchers

Forks

Packages

No packages published