Metadata-Version: 2.1
Name: django-database-prefix
Version: 0.1.0
Summary: UNKNOWN
Home-page: https://github.com/rez0n/django-database-prefix
Author: Denis Verbin <den.verbin@gmail.com
License: Apache licence, see LICENCE
Keywords: django
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: Topic :: Database
Requires: Django
Description-Content-Type: text/markdown
License-File: LICENSE

# django-database-prefix
Ables you to set Django's database tables prefix, as a result you can run multiple Django projects using single database, without any actions on the unmanaged tables.

## Installation
Install using pip
```
pip install django-database-prefix
```
Add `django-database-prefix` at the top of the `INSTALLED_APPS` to make it initialized first.
```
'django_database_prefix',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
```

## Configuration
Set string value for `DB_PREFIX` in the settings.py
```
DB_PREFIX = 'app1_'
```
In result you'll have `app1_django_session` talbe names pattern.

