Skip to main content

Django simple account

Project description

GihHub Action Requirements Status pypi license GitHub last commit

Requirements

  • Python 3.6+

  • A supported version of Django (currently 3.x)

Getting It

You can get Django tree materialized by using pip:

$ pip install django-simple-account

If you want to install it from source, grab the git repository from GitHub and run setup.py:

$ git clone git://github.com/kostya-ten/django_simple_account.git
$ cd django_simple_account
$ python setup.py install

Installation

To enable django_simple_account in your project you need to add it to INSTALLED_APPS in your projects settings.py

INSTALLED_APPS = (
    # ...
    'django_simple_account',
    # ...
)

Enable context_processors

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                # ....
                'django_simple_account.context_processors.settings',
            ],
        },
    },
]

Add urls.py in project

urlpatterns = [
    # ...
    path('accounts/', include('django_simple_account.urls')),
]

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-simple-account-0.0.2.tar.gz (19.7 kB view hashes)

Uploaded Source

Built Distribution

django_simple_account-0.0.2-py3-none-any.whl (24.0 kB view hashes)

Uploaded Python 3

Supported by

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