This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
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
Include some fields that will be used to keep track of information about bats.
Since we'll be using PostgreSQL as our main database driver, we need to have the driver installed for it.
This is used so that `python manage.py migrate` includes what we need.
This lets us define custom admin pages based off of our models.
We can properly edit images now, and have collapsible categories for things that are of similar note.
mcab
force-pushed
the
4-create-bat-model
branch
from
February 26, 2019 05:55
239c297
to
b77837a
Compare
Decided that a risk per risk scope would require a bit more robust selection + modeling, and probably out of scope for now. Habits was actually right. I don't know what I said when thinking it should be "habitat patterns." |
Size is tricky. I think at this stage, we need to create another widget to allow for a specific |
Closed
mcab
added a commit
that referenced
this pull request
May 9, 2019
* Add Bat model Include some fields that will be used to keep track of information about bats. This includes migrations, and an admin interface to edit and add bats. * Add psycopg2 dependency Since we'll be using PostgreSQL as our main database driver, we need to have the driver installed for it. * Add ModelAdmin to INSTALLED_APPS This lets us define custom admin pages based off of our models.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #4.
By utilizing some of PostgreSQL's special fields, we can reduce the amount of columns we would need to use for specific fields.
Things that we can keep track of: