comparison bio/flags.py @ 679:89b240fe9297

For Django 1.5.2: import json; django.utils.simplejson is deprecated.
author Brian Neal <bgneal@gmail.com>
date Thu, 15 Aug 2013 20:14:33 -0500
parents 678a1a2ef55a
children
comparison
equal deleted inserted replaced
678:38a198ea8c61 679:89b240fe9297
1 """ 1 """
2 This module contains country flag data & functions. 2 This module contains country flag data & functions.
3 3
4 """ 4 """
5 from __future__ import with_statement 5 import json
6 import os.path 6 import os.path
7 import locale 7 import locale
8 import logging 8 import logging
9
10 import django.utils.simplejson as json
11 9
12 10
13 # Read flag data from external JSON file: 11 # Read flag data from external JSON file:
14 12
15 FLAG_DATA = {} 13 FLAG_DATA = {}