add get_country_name to ox namespace
This commit is contained in:
parent
4aef31680f
commit
7e08473e11
2 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ from api import *
|
||||||
from file import *
|
from file import *
|
||||||
from form import *
|
from form import *
|
||||||
from format import *
|
from format import *
|
||||||
|
from geo iport *
|
||||||
from html import *
|
from html import *
|
||||||
#image depends on PIL, not easy enough to instal on osx
|
#image depends on PIL, not easy enough to instal on osx
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
# vi:si:et:sw=4:sts=4:ts=4
|
# vi:si:et:sw=4:sts=4:ts=4
|
||||||
# GPL 2008
|
# GPL 2008
|
||||||
|
|
||||||
|
__all__ = ['get_country_name']
|
||||||
|
|
||||||
'''
|
'''
|
||||||
var countries = {};
|
var countries = {};
|
||||||
Ox.COUNTRIES.forEach(function(country) {
|
Ox.COUNTRIES.forEach(function(country) {
|
||||||
|
|
Loading…
Reference in a new issue