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
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_simpleauth-0.3.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7f0cd03dd69dda0c0e355a38cb8111951c5b88e25aa6364db2adcf92fa97739 |
|
MD5 | b200c7b77aa0d7a75221eea1a5922c24 |
|
BLAKE2b-256 | 376beffa86de96019ff5a972b52b2a17a683b9f03256258b4ffbec49afceb7b6 |
Close
Hashes for django_simpleauth-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 452486da8b36e096932ee13e085a5345fb502599c7154c22f692488df0df5bda |
|
MD5 | b1a1c9569e96f09d588fbcad797f77f2 |
|
BLAKE2b-256 | ce7cc5886808d1f273082e59771dcae9bb58940b3c31c927b8b013db4682f40a |