Skip to content

Commit

Permalink
Adjust grant admin.py based on model changes and merge migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeacom committed Nov 27, 2018
1 parent 43f1360 commit 4952473
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions app/dashboard/migrations/0117_merge_20181127_1301.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated by Django 2.1.2 on 2018-11-27 13:01

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('dashboard', '0112_auto_20181107_1809'),
('dashboard', '0116_merge_20181115_2252'),
]

operations = [
]
4 changes: 2 additions & 2 deletions app/grants/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class GrantAdmin(GeneralAdmin):
ordering = ['-id']
fields = [
'title', 'description', 'reference_url', 'admin_address', 'active', 'amount_goal', 'amount_received',
'frequency', 'token_address', 'contract_address', 'transaction_hash', 'network', 'required_gas_price',
'logo_svg_asset', 'logo_asset', 'created_on', 'modified_on'
'token_address', 'contract_address', 'transaction_hash', 'network', 'required_gas_price', 'logo_svg_asset',
'logo_asset', 'created_on', 'modified_on',
]
readonly_fields = [
'logo_svg_asset', 'logo_asset', 'created_on', 'modified_on', 'token_address', 'contract_address',
Expand Down

0 comments on commit 4952473

Please sign in to comment.