项目
在 GitHub 查看
Create a virtualenv using
egorsmkv/simple-django-login-and-register
关于
一个包含基本用户功能的 Django 项目示例。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Simple Django Login and Registration
An example of Django project with basic user functionality.
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, Simplified Chinese and Spanish
If you need dynamic URLs with the language code, check out https://github.com/egorsmkv/simple-django-login-and-register-dynamic-lang
Installing
Clone the project
git clone https://github.com/egorsmkv/simple-django-login-and-register
cd simple-django-login-and-register
Activate virtualenv
Create a virtualenv using uv
uv venv --python 3.13
source .venv/bin/activate
Install dependencies
# uv sync --upgrade --extra dev
uv sync --upgrade
# Or using requirements files:
uv pip install -r requirements.txt
uv pip install -r requirements-dev.txt # in development mode
Configure the settings (connection to the database, connection to an SMTP server, and other options)
Edit
source/app/conf/development/settings.pyif you want to develop the project.Edit
source/app/conf/production/settings.pyif you want to run the project in production.
Apply migrations
python source/manage.py migrate
Running
On development server
Start the local web server:
python source/manage.py runserver
On production server
Collect static files:
python source/manage.py collectstatic
Development
Check & format code
This command formats the code:
just fmt
探索相关项目
加载中…





