Commit graph

8 commits

Author SHA1 Message Date
adam
5bef5c0152 py-django-countries: updated to 5.3.1
5.3.1:
- Fix dumpdata and loaddata for CountryField(multiple=True).
2018-06-19 11:46:11 +00:00
adam
d1a8e809a8 py-django-countries: updated to 5.3
5.3:
Iterating a Countries object now returns named tuples. This makes things nicer when using {% get_countries %} or using the country list elsewhere in your code.
2018-04-24 13:08:43 +00:00
adam
b78061aafa py-django-countries: updated to 5.2
5.2:
Ensure Django 2.1 compatibility for CountrySelectWidget.
Fix regression introduced into 5.1 when using Django 1.8 and certain queryset lookup types (like __in).
2018-03-09 08:13:23 +00:00
adam
fb813fa4a7 py-django-countries: updated to 5.1.1
5.1.1:
Fix some translations that were included in 5.1 but not compiled.

5.1:
Tests now also cover Django Rest Framework 3.7 and Django 2.0.
Allow for creating country fields using (valid) alpha-3 or numeric codes.
Fix migration error with blank default.
Add a {% get_countries %} template tag.
2018-02-27 06:26:49 +00:00
adam
823bc09676 py-django-countries: update to 5.0
Version 5.0:
No longer allow multiple=True and null=True together. This causes problems saving the field, and null shouldn’t really be used anyway because the country field is a subclass of CharField.
2017-10-13 07:01:40 +00:00
adam
5e2ebcfe58 py-django-countries: update to 4.6.2
Version 4.6.2
Use transparency layer for flag sprites.
2017-09-26 17:16:16 +00:00
adam
e905c8f211 Version 4.6
Add a CountryFieldMixin Django Rest Framework serializer mixin that automatically picks the right field type for a CountryField (both single and multi-choice).
Validation for Django Rest Framework field (thanks Simon Meers).
Allow case-insensitive .by_name() matching (thanks again, Simon).
Ensure a multiple-choice CountryField.max_length is enough to hold all countries.
Fix inefficient pickling of countries (thanks Craig de Stigter for the report and tests).
Stop adding a blank choice when dealing with a multi-choice CountryField.
Tests now cover multiple Django Rest Framework versions (back to 3.3).

Version 4.6.1
Fix invalid reStructuredText in CHANGES.
2017-06-16 07:17:58 +00:00
adam
1be9c2f0f7 A Django application that provides country choices for use with forms, flag
icons static files, and a country field for models.
2017-06-12 06:48:20 +00:00