Last active
May 22, 2020 08:13
-
-
Save cyberfly/a0c6f7bd7fb86ee3cea0bedec31b7b6a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start console | |
poetry run python manage.py shell | |
# import model | |
from plum.plum_project.models import Project | |
# list Model fields | |
Project._meta.fields | |
# create data | |
ProjectType.objects.create(name="software",code="software",description="software project") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment