Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Create add user function using the pattoo CLI #356

Open
DangaRanga opened this issue Aug 18, 2020 · 1 comment
Open

Create add user function using the pattoo CLI #356

DangaRanga opened this issue Aug 18, 2020 · 1 comment

Comments

@DangaRanga
Copy link
Collaborator

DangaRanga commented Aug 18, 2020

This should have two user classes with methods from the db.models.py file

  • The Modify class which is used for modifying users
  • The Add class which is the child of the modify class
    • In the __init__ method will be initialized with the username to be added to the database
@DangaRanga
Copy link
Collaborator Author

This could be done by creating a method by instantiating a method with the username, password, last name and first name (all of the attributes in the user class for the user table)

@DangaRanga DangaRanga reopened this Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant