An open API service indexing awesome lists of open source software.

https://github.com/pangeacyber/pangea-django-example

A sample app for integrating Secure Audit Log and File Intel using Python's Django framework
https://github.com/pangeacyber/pangea-django-example

audit-log django file-intel pangea python secure-app-development

Last synced: 2 months ago
JSON representation

A sample app for integrating Secure Audit Log and File Intel using Python's Django framework

Awesome Lists containing this project

README

        

# 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, Russian, 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

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

### Install dependencies & activate virtualenv

```bash
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

```bash
python source/manage.py migrate
```

### Collect static files (only on a production server)

```bash
python source/manage.py collectstatic
```

### Running

#### A development server

Just run this command:

```bash
python source/manage.py runserver
```