update app: geo_api not used anymore (fix patch)
This commit is contained in:
parent
7473e16907
commit
7036420059
@ -96,7 +96,7 @@ def get_app(config, _app=None, with_external_mods=True, url_prefix="/api"):
|
|||||||
from gncitizen.core.users.routes import users_api
|
from gncitizen.core.users.routes import users_api
|
||||||
from gncitizen.core.commons.routes import commons_api
|
from gncitizen.core.commons.routes import commons_api
|
||||||
from gncitizen.core.observations.routes import obstax_api
|
from gncitizen.core.observations.routes import obstax_api
|
||||||
from gncitizen.core.ref_geo.routes import geo_api
|
#from gncitizen.core.ref_geo.routes import geo_api
|
||||||
from gncitizen.core.badges.routes import badges_api
|
from gncitizen.core.badges.routes import badges_api
|
||||||
from gncitizen.core.taxonomy.routes import taxo_api
|
from gncitizen.core.taxonomy.routes import taxo_api
|
||||||
from gncitizen.core.sites.routes import sites_api
|
from gncitizen.core.sites.routes import sites_api
|
||||||
@ -104,7 +104,7 @@ def get_app(config, _app=None, with_external_mods=True, url_prefix="/api"):
|
|||||||
app.register_blueprint(users_api, url_prefix=url_prefix)
|
app.register_blueprint(users_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(commons_api, url_prefix=url_prefix)
|
app.register_blueprint(commons_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(obstax_api, url_prefix=url_prefix)
|
app.register_blueprint(obstax_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(geo_api, url_prefix=url_prefix)
|
#app.register_blueprint(geo_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(badges_api, url_prefix=url_prefix)
|
app.register_blueprint(badges_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(taxo_api, url_prefix=url_prefix)
|
app.register_blueprint(taxo_api, url_prefix=url_prefix)
|
||||||
app.register_blueprint(sites_api, url_prefix=url_prefix + "/sites")
|
app.register_blueprint(sites_api, url_prefix=url_prefix + "/sites")
|
||||||
|
Loading…
Reference in New Issue
Block a user