i am tryin to piece things together
This file contains 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
const FORM = document.querySelector('form'); | |
const submit = (e) => { | |
// prevent default action ie page refresh | |
e.preventDefault(); | |
// submit form | |
FORM.submit(); | |
I am tryin to piece things together.
This file contains 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
license: gpl-3.0 | |
height: 500 | |
scrolling: no | |
border: yes |
Easily create a superuser for your django project using this simple line.
I found this trick on the Quickstart guide from the django-rest-framework docs
$ python manage.py createsuperuser --username admin --email admin@example.com
Password: **********
Password (again): **********
Superuser created successfully.
This file contains 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
ab |
NewerOlder