Skip to main content

A simple app Django app that does basic user auth

Project description

==========
Simpleauth
==========

Simpleauth is a simple app created for the class requirement.
Detailed documentation (if any!) is with in the source files as comments.

(I'd suggested to go through the source, since that would be an easier task than to
figure out manually)

Quick start
-----------
1. Include the shopcart urlconf in your project urls.py like this::

urlpatterns = [
...
url(r'^simpleauth/', include('simpleauth.urls')),
]


2. Add "shopcart" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'simpleauth',
]

3. Modify the DATABASES section
(Recommended DB is MySQL, but you can use sqlite3.)::

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '{DATABASE_NAME}',
'USER' : '{DATABASE_USER}',
'PASSWORD' : '{DATABASE_PASSWORD}',
}
}

4. Make the migrations
(This is used to generate the DB table)::

$ python3 manage.py makemigrations simpleauth

5. Then, migrate to DB::

$ python3 manage.py migrate simpleauth

3. Start the development server and visit http://127.0.0.1:8000/simpleauth/ to view the
simpleauth app

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

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

Source Distribution

django_simpleauth-0.3.linux-x86_64.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

django_simpleauth-0.3-py3-none-any.whl (9.2 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