-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCD model migration #240
Merged
OCD model migration #240
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
f3fe835
reset migrations
fgregg b337366
update django, start to OCD the models
fgregg ba7766c
council members coming into view
fgregg 9c088f6
nearly pages working except about and search
fgregg 63ba9e2
bring back old migrations
fgregg adb584e
search and about page
fgregg ff7c696
flake8, all pages working in Chicago
fgregg 316f6f5
still using dateutil
fgregg 2e06e07
signals
fgregg e27b618
Merge pull request #242 from datamade/ocd_signals
fgregg 6fe938f
Merge branch 'ocd' of github.com:datamade/django-councilmatic into ocd
fgregg 240d124
restore old migrations
fgregg fc9bd86
fix up on_delete in older migrations for django 2.0
fgregg e507f84
comment out proxy related fields
fgregg 30503de
migrate the councilmatic_core tables
fgregg 9896aea
try to get travis tests working
fgregg f3b624f
install flak8 for tests
fgregg d86dc1b
reduce changes
fgregg f23cd63
remove incremental haystack update
fgregg 1de8113
flake8 coming
fgregg a6dd9a4
not using activity stream right now
fgregg 49525d8
password_reset is part of django_notifications app:
fgregg 0dd2577
__init__.py in signals folder
fgregg 14a7c58
postgis on travis
fgregg 1dff240
try relative path
fgregg ffce100
full path
fgregg 223fb4b
maybe travis is missing the __init__
fgregg 4c8e1bf
find_packages
fgregg daad426
Try overriding relation in manager, add back template in search indexes
hancush 946b350
Return datetime from prepare_bill_action
hancush 8db6c8c
Enable proxy relationships, update Membership manager to handle null …
hancush 04c8499
Repair committees attribute
hancush 825f30a
Download headshots to app static directory
hancush 45add3b
Add prefix to headshot filenames for easy exclusion from gitignore
hancush f546b45
More person headshot fixes, handle sponsorships with no associated Pe…
hancush 1d7c3b1
Fix object reference
hancush ad04071
Add link_html to Person, update console logging
hancush 6d290a1
Consistent use of link_html
hancush 1bc397c
Install django-proxy overrides from master
hancush 43101d8
Get the tests passing
hancush a28d0c7
flakin' all over the world
hancush 3747e55
Get the tests passing redux
hancush a598736
Upgrade pip
hancush 2240208
Turn up test verbosity, flake8 pt. 2
hancush 855bfdb
Uncomment cache directives
hancush 0fdcf41
Subclass BillDocument, refactor and test convert_attachment_text
hancush 16d4ce9
Refactor refresh_pic to use the ORM
hancush fb171a4
Stash inexplicably failing test of management command
hancush acf0052
Strip whitespace
hancush 9849ea3
Make the fixtures independent of one another
hancush f4c75b0
Remove import_data
hancush c4ffeac
Refactor convert_rtf to use ORM
hancush f0735d5
take8
hancush 00b08ef
Add use_template kwarg
hancush abab18f
Put the headshots in their own directory
hancush 8c595a3
Collect static at the end of update_headshots
hancush d71478e
Update testing instructions
hancush 99f681c
Format code blocks
hancush 50141df
Yet more formatting
hancush fd66e3c
Add missing migration
hancush 373a77b
OCD_CITY_COUNCIL_ID -> OCD_CITY_COUNCIL_NAME
hancush 6c2a9bd
Update test settings
hancush 8515994
Drop ambiguous last action date preparation
hancush 4436df9
Move ordering into primary_sponsorship property, add comments
hancush 74e7555
Override BillSponsorship.organization
hancush 1cd01eb
Flake it up
hancush 449ff74
Handle sponsorships of bills with no last action date
hancush File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,7 @@ django-councilmatic.egg-info/* | |
.DS_STORE | ||
build/* | ||
.cache | ||
.pytest_cache | ||
.env | ||
.pytest_cache | ||
*# | ||
*~ |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'councilmatic_core.apps.CouncilmaticConfig' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CouncilmaticConfig(AppConfig): | ||
name = 'councilmatic_core' | ||
verbose_name = "Councilmatic" | ||
|
||
def ready(self): | ||
import councilmatic_core.signals.handlers # noqa |
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this import here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so you can run the tests w/o needing to install textract, which is a pita. https://textract.readthedocs.io/en/stable/installation.html / #193 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a comment to that effect.