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

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.

Files for django_simpleauth, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_simpleauth-0.3.linux-x86_64.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View
Filename, size django_simpleauth-0.3-py3-none-any.whl (9.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page