-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:unicef/un-partner-portal into fe…
…ature/#950-ie-issues
- Loading branch information
Showing
26 changed files
with
308 additions
and
260 deletions.
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
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
21 changes: 21 additions & 0 deletions
21
backend/unpp_api/apps/partner/migrations/0056_auto_20180129_1327.py
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.8 on 2018-01-29 13:27 | ||
from __future__ import unicode_literals | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('partner', '0055_merge_20180123_1153'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='partner', | ||
name='country_presence', | ||
field=django.contrib.postgres.fields.ArrayField(base_field=models.CharField(choices=[('AF', 'Afghanistan'), ('AL', 'Albania'), ('DZ', 'Algeria'), ('AR', 'Argentina'), ('AM', 'Armenia'), ('AZ', 'Azerbaijan'), ('AI', 'Anguilla'), ('AG', 'Antigua and Barbuda'), ('BB', 'Barbados'), ('VG', 'Virgin Islands (UK)'), ('DM', 'Dominica'), ('GD', 'Grenada'), ('MS', 'Montserrat'), ('KN', 'Saint Kitts and Nevis'), ('LC', 'Saint Lucia'), ('VC', 'Saint Vincent and the Grenadines'), ('TC', 'Turks & Caicos'), ('TT', 'Trinidad and Tobago'), ('BT', 'Bhutan'), ('BO', 'Bolivia'), ('BW', 'Botswana'), ('BA', 'Bosnia and Herzegovina'), ('BR', 'Brazil'), ('BG', 'Bulgaria'), ('MM', 'Myanmar'), ('BI', 'Burundi'), ('BY', 'Belarus'), ('KH', 'Cambodia'), ('CM', 'Cameroon'), ('CF', 'Central African Republic'), ('LK', 'Sri Lanka'), ('TD', 'Chad'), ('CL', 'Chile'), ('CN', 'China'), ('CO', 'Colombia'), ('CD', 'Congo, Dem. Rep.'), ('CR', 'Costa Rica'), ('HR', 'Croatia'), ('CU', 'Cuba'), ('BJ', 'Benin'), ('DK', 'Denmark'), ('DO', 'Dominican Republic'), ('EC', 'Ecuador'), ('SV', 'El Salvador'), ('GQ', 'Equatorial Guinea'), ('ET', 'Ethiopia'), ('ER', 'Eritrea'), ('AS', 'American Samoa'), ('CK', 'Cook Islands'), ('FJ', 'Fiji'), ('KI', 'Kiribati'), ('MH', 'Marshall Islands'), ('FM', 'Micronesia'), ('NR', 'Nauru'), ('NU', 'Niue'), ('PW', 'Palau, Republic Of'), ('WS', 'Samoa'), ('SB', 'Solomon Islands'), ('TK', 'Tokelau'), ('TO', 'Tonga'), ('TV', 'Tuvalu'), ('VU', 'Vanuatu'), ('GA', 'Gabon'), ('GM', 'Gambia'), ('GE', 'Georgia'), ('GH', 'Ghana'), ('GT', 'Guatemala'), ('GN', 'Guinea'), ('GY', 'Guyana'), ('SR', 'Suriname'), ('HT', 'Haiti'), ('HN', 'Honduras'), ('IN', 'India'), ('ID', 'Indonesia'), ('IR', 'Iran'), ('IQ', 'Iraq'), ('CI', "Cote D'Ivoire"), ('JM', 'Jamaica'), ('JO', 'Jordan'), ('KZ', 'Kazakhstan'), ('KE', 'Kenya'), ('KG', 'Kyrgyzstan'), ('LA', "Lao, People's Dem. Rep"), ('LB', 'Lebanon'), ('LS', 'Lesotho'), ('LR', 'Liberia'), ('LY', 'Libya'), ('MK', 'Macedonia, TFYR'), ('MG', 'Madagascar'), ('MW', 'Malawi'), ('MY', 'Malaysia'), ('MV', 'Maldives'), ('ML', 'Mali'), ('MR', 'Mauritania'), ('MX', 'Mexico'), ('MN', 'Mongolia'), ('MA', 'Morocco'), ('NP', 'Nepal'), ('NI', 'Nicaragua'), ('NE', 'Niger'), ('NG', 'Nigeria'), ('PK', 'Pakistan'), ('PA', 'Panama'), ('PY', 'Paraguay'), ('CG', 'Congo'), ('PE', 'Peru'), ('PH', 'Philippines'), ('RO', 'Romania'), ('RU', 'Russian Federation'), ('RW', 'Rwanda'), ('BH', 'Bahrain'), ('KW', 'Kuwait'), ('QA', 'Qatar'), ('SA', 'Saudi Arabia'), ('AE', 'United Arab Emirates'), ('SN', 'Senegal'), ('SL', 'Sierra Leone'), ('SO', 'Somalia'), ('ZA', 'South Africa'), ('SD', 'Sudan'), ('SZ', 'Swaziland'), ('SS', 'South Sudan'), ('SY', 'Syrian Arab Republic'), ('TJ', 'Tajikistan'), ('TH', 'Thailand'), ('TG', 'Togo'), ('TN', 'Tunisia'), ('TR', 'Turkey'), ('TM', 'Turkmenistan'), ('UG', 'Uganda'), ('UA', 'Ukraine'), ('EG', 'Egypt'), ('TZ', 'Tanzania, United Republic of'), ('BF', 'Burkina Faso'), ('UY', 'Uruguay'), ('UZ', 'Uzbekistan'), ('VE', 'Venezuela'), ('YE', 'Yemen'), ('ZM', 'Zambia'), ('BD', 'Bangladesh'), ('KP', "Korea, Democratic People's Republic of"), ('VN', 'Viet Nam'), ('MD', 'Moldova'), ('CH', 'Switzerland'), ('BZ', 'Belize'), ('ZW', 'Zimbabwe'), ('OM', 'Oman'), ('PG', 'Papua New Guinea'), ('KM', 'Comoros'), ('DJ', 'Djibouti'), ('AO', 'Angola'), ('CV', 'Cabo Verde'), ('ST', 'Sao Tome and Principe'), ('GW', 'Guinea-Bissau'), ('MZ', 'Mozambique'), ('NA', 'Namibia'), ('PS', 'Palestine'), ('TL', 'Timor-Leste'), ('ME', 'Montenegro'), ('RS', 'Serbia'), ('AW', 'Aruba'), ('AU', 'Australia'), ('AT', 'Austria'), ('BE', 'Belgium'), ('BM', 'Bermuda'), ('BS', 'Bahamas'), ('BN', 'Brunei'), ('CA', 'Canada'), ('KY', 'Cayman Islands'), ('CZ', 'Czech Republic'), ('CY', 'Cyprus'), ('EE', 'Estonia'), ('FI', 'Finland'), ('FR', 'France'), ('DE', 'Germany'), ('GI', 'Gibraltar'), ('GR', 'Greece'), ('GU', 'Guam'), ('HU', 'Hungary'), ('IS', 'Iceland'), ('IE', 'Ireland'), ('IL', 'Israel'), ('IT', 'Italy'), ('JP', 'Japan'), ('LV', 'Latvia'), ('LT', 'Lithuania'), ('LU', 'Luxembourg'), ('MU', 'Mauritius'), ('MT', 'Malta'), ('MC', 'Monaco'), ('NC', 'New Caledonia'), ('NL', 'Netherlands'), ('NO', 'Norway'), ('NZ', 'New Zealand'), ('PL', 'Poland'), ('PT', 'Portugal'), ('PR', 'Puerto Rico'), ('KR', 'Korea, Republic of'), ('SC', 'Seychelles'), ('SG', 'Singapore'), ('SK', 'Slovakia'), ('ES', 'Spain'), ('SI', 'Slovenia'), ('SE', 'Sweden'), ('GB', 'United Kingdom'), ('US', 'United States of America'), ('VI', 'Virgin Islands (USA)'), ('AD', 'Andorra'), ('GF', 'French Guiana'), ('PF', 'French Polynesia (France)'), ('GL', 'Greenland'), ('GP', 'Guadeloupe'), ('LI', 'Liechtenstein'), ('MQ', 'Martinique'), ('AN', 'Netherlands Antilles'), ('MP', 'Northern Mariana Islands'), ('RE', 'Reunion'), ('SH', 'Saint Helena'), ('SM', 'San Marino'), ('CS', 'Serbia & Montenegro'), ('VA', 'Vatican City'), ('WF', 'Wallis & Futuna Islands')], max_length=2), blank=True, default=list, null=True, size=None), | ||
), | ||
] |
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 |
---|---|---|
@@ -1,16 +1,23 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
from django.contrib import admin | ||
from .models import ( | ||
from project.models import ( | ||
EOI, | ||
Pin, | ||
Application, | ||
ApplicationFeedback, | ||
Assessment, | ||
) | ||
|
||
|
||
class ApplicationAdmin(admin.ModelAdmin): | ||
search_fields = ('partner__legal_name', 'eoi__title') | ||
list_display = ('id', 'partner', 'eoi', 'agency', 'did_win', 'did_accept') | ||
list_filter = ('is_unsolicited', 'agency', 'status', 'did_win', 'did_accept', 'did_decline', 'did_withdraw') | ||
|
||
|
||
admin.site.register(EOI) | ||
admin.site.register(Pin) | ||
admin.site.register(Application) | ||
admin.site.register(Application, ApplicationAdmin) | ||
admin.site.register(ApplicationFeedback) | ||
admin.site.register(Assessment) |
Oops, something went wrong.