Prajwal122003 / simple-django-login-and-register-dynamic-lang

An example of Django project with basic user functionality with dynamic language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Django Login and Registration (dynamic language)

An example of Django project with basic user functionality.

Dynamic language

One difference of this project from https://github.com/egorsmkv/simple-django-login-and-register is that URLs have an attached language code everywhere.

Screenshots

Log In Create an account Authorized page
Password reset Set new password Password change

Functionality

  • Log in
    • via username & password
    • via email & password
    • via email or username & password
    • with a remember me checkbox (optional)
  • Create an account
  • Log out
  • Profile activation via email
  • Reset password
  • Remind a username
  • Resend an activation code
  • Change password
  • Change email
  • Change profile
  • Multilingual: English, French, Russian, Simplified Chinese and Spanish

Installing

Clone the project

git clone https://github.com/egorsmkv/simple-django-login-and-register-dynamic-lang
cd simple-django-login-and-register-dynamic-lang

Install dependencies & activate virtualenv

pip install pipenv

pipenv install
pipenv shell

Configure the settings (connection to the database, connection to an SMTP server, and other options)

  1. Edit source/app/conf/development/settings.py if you want to develop the project.

  2. Edit source/app/conf/production/settings.py if you want to run the project in production.

Apply migrations

python source/manage.py migrate

Collect static files (only on a production server)

python source/manage.py collectstatic

Running

A development server

Just run this command:

python source/manage.py runserver

About

An example of Django project with basic user functionality with dynamic language

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 71.7%Language:HTML 26.8%Language:JavaScript 1.5%Language:CSS 0.0%