Git Product home page Git Product logo

shopspot's Introduction

oriefy

source code for oriefy site

shopspot's People

Contributors

mkaras93 avatar paulolimac avatar shahzaibdilawar avatar zerocoolhacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shopspot's Issues

Add User Django Model Admin

Description

Add a Proper Django Admin view for the User model.
You can search user by first_name, last_name and email
list view presents necessary information
you can filter users based on user_types i.e is_staff, is_admin, is_buyer, is_seller

create a home page

Coming soon or a nice webpage telling about the project would be fine

Email Authentication of User

Description

Currently when the user is created it is active by default.

Expected behavior:
Upon signing up, a code should be sent to his email that should be valid for a time period and if he enters that code before that period then his account should become active otherwise he would remain inactive and have to re generate the code in case of expiry.

Change User Model

Description

Currently we have boolean fields for is_seller and is_buyer
There needs to be a seperate model for that

'registration' module does not exist

Description

(First time contrib here, please don't bite.)
Module 'registration' does not exist (yet) but is already included in settings.py and shopspot/shopspot/urls.py. Makes it impossible to use manage.py and test stuff.

Steps to Reproduce

  1. Clone the repo
  2. Run in terminal 'python manage.py makemigrations' or 'python manage.py runserver'
  3. You will get an error 'module "registration" does not exist.'.

Expected behavior:
'registration' module should be already included in the repo, otherwise it shouldn't be referred to in other files.

Actual behavior:

Reproduces how often:
100%

Versions

Python 3.6.6
Django 2.1.2

Additional Information:

Seems like a partially implemented registration feature.

Create a Custom User Model

Create a custom django user model that has

  • Email as default username field
  • Has is_seller and is_buyer flag

Add Permissions to User

Currently the user has all permissions set to True by default
Add the default permissions to the User as are provided by the django.contrib.auth.User Model.
We would have to add the permission mixin maybe make some adjustments.

User Api

Create Api layer for user model

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.