abstract-theory / django-ip-shield

A simple Django app that analyzes HTTP requests and returns a lock-out page if suspicious requests have been made from the client IP address.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Databases are not created #1

Open croll12-creator opened 3 years ago

croll12-creator commented 3 years ago

The database that is used is not create when running migrate. Can you provide the table structures?

abstract-theory commented 3 years ago

The database tables are defined in the file models.py. Did you run both makemigrations and migrate? Also, if your Django instance does not already have a running database associated with it, that will be needed as well.