Added testing for DateField, DateTimeField, and validators on the Model and ModelForm (#23)

* Added testing for DateField and DateTimeField

* Update makefile

* Adding some of the tests with validators on model

* Added ModelForm clean_field and clean tests

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
This commit is contained in:
Thu Trang Pham
2021-03-31 12:46:02 -07:00
committed by GitHub
parent c88eb16a9b
commit 4d6b2900d8
16 changed files with 763 additions and 11 deletions
+5 -2
View File
@@ -22,14 +22,17 @@ migrate:
shell:
./tests/manage.py shell
dbshell:
./tests/manage.py dbshell
package:
python3 setup.py sdist bdist_wheel
upload-testpypi:
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)-*
i-have-tested-with-testpypi-and-am-ready-to-release:
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)-*
install-testpypi:
pip uninstall django_admin_confirm