Skip to main content

Django accounts app

Project description

# MP-Accounts

Django accounts app.

### Installation

Install with pip:

```sh
$ pip install -e git://github.com/pmaigutyak/mp-accounts.git#egg=mp-accounts
```

Add accounts to urls.py:

```
urlpatterns += i18n_patterns(

url(r'^accounts/', include('allauth.urls')),

url(r'^accounts/', include('accounts.urls', namespace='accounts')),

)
```

Add accounts to settings.py:
```
INSTALLED_APPS = [
'accounts',
'allauth',
'allauth.account',
]

AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend',
)

LOGIN_REDIRECT_URL = '/'
```

Run migrations:
```
$ python manage.py migrate
```

### Requirements

App require this packages:

* django-allauth
* django-widget-tweaks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mp-accounts-2.0.tar.gz (13.7 kB view details)

Uploaded Source

File details

Details for the file django-mp-accounts-2.0.tar.gz.

File metadata

File hashes

Hashes for django-mp-accounts-2.0.tar.gz
Algorithm Hash digest
SHA256 571ffc094809c06dbb48c4e3ab543a9df26077d614ca933f8a96e18cd66e387c
MD5 8b2168f5b57cdd0944c4de5279ceec1c
BLAKE2b-256 8b192264bf02e5a5446cf11dc43442dfd4132ed13e578b1031176016bd807616

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page