Skip to main content

A Django app to conduct web-based user authentication.

Project description

User Auth is a Django app to conduct web-based User Auth. For each question, visitors can choose between a fixed number of answers.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “User Auth” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'user',
    ]
  2. Include the User Auth URLconf in your project urls.py like this:

    path('api/user/', include('user.urls')),
  3. Run python manage.py migrate to create the User Auth models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a user (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/api/user/ to participate in the user auth.

  6. all the url for particular action is given below,

    user registration, url: http://127.0.0.1:8000/api/user/users/ , method: post, body: login, url: http://127.0.0.1:8000/api/user/auth/ , method: post, body: username,password update profile , http://127.0.0.1:8000/api/user/update_profile/ , method: post get user role, http://127.0.0.1:8000/api/user/user_role/ , method: get path(‘change_password/’,change_password),

    path(‘token/refresh/’, TokenRefreshView.as_view(), name=’token_refresh’), path(‘password_reset/’, include(‘django_rest_passwordreset.urls’, namespace=’password_reset’)),

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-user-auth-asl-0.1.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file django-user-auth-asl-0.1.tar.gz.

File metadata

  • Download URL: django-user-auth-asl-0.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for django-user-auth-asl-0.1.tar.gz
Algorithm Hash digest
SHA256 cb2009db82e8c83864b756b6fd8b4ab1c1e666b60e0fcc142dfaf8145a340262
MD5 1f038fda618993816aae468cadcdb0ee
BLAKE2b-256 64544e4f668db9152f2bcc68e6e203831bf9313330eacda67bd69089161d2e53

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