Coder Social home page Coder Social logo

simple-web-django-auth's Introduction

#Documentasi Tugas Django Auth ##HAK AKSES ###1. Yang bisa di akses oleh admin yang is_superuser:

  • localhost:8000/dashboard -> untuk Dashboard admin
  • localhost:8000/about_admin -> untuk melihat konten about pada dashboard admin
  • localhost:8000/about_edit -> untuk mengedit konten about yang taggal postnya akan menyesuaikan hari itu
  • localhost:8000/upload_gambar -> untuk mengupload gambar pada page portfolio
  • localhost:8000/about_detail -> untuk melihat frontpage about detail
  • localhost:8000/about_komentar -> untuk memberi komentar di kolom komentar pada page about_detail
  • localhost:8000/about_create -> untuk Mengisi konten pada about, apabila konten masih kosong dan ini hanya bisa untuk 1 konten saja

###2. Yang bisa di akses member yang sudah login namun bukan is_superuser:

  • localhost:8000/about_komentar -> untuk memberi komentar di kolom komentar pada page about_detail
  • localhost:8000/logout -> untuk Logout
  • localhost:8000/about_detail -> untuk melihat frontpage about detail

###3. Yang bisa di akses semua user tanpa login :

  • localhost:8000/register -> Untuk mendaftar bisa sebagai member biasa atau admin, apabila admin kolom checkbox harus di check, dan memiliki hak akses seperti pada point2 di nomor 1
  • localhost:8000/login -> Untuk login user
  • localhost:8000/portfolio -> melihat portfolio
  • localhost:8000/about -> melihat about
  • localhost:8000/about_detail -> melihat detail about

##MYSQL CONFIGURATION:

  • 'ENGINE': 'django.db.backends.mysql',
  • 'NAME': 'django_auth',
  • 'HOST': '127.0.0.1',
  • 'USER': 'root',
  • 'PASSWORD': '',

##EXPORT DATABASE Jika export data dari databse saya di file 'django_auth.sql', maka sudah ada 2 user:

  1. User sebagai admin yang bisa mengakses fitur2 admin
  • username : admin
  • password : password123
  1. User sebagai Member yang bisa mengakses fitur2 Member
  • username : member
  • password : password123

simple-web-django-auth's People

Contributors

aji-umj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.