Ticket #1517 (new bug)

Opened 6 years ago

WSGIApp.set_data_path not called when using "nagare-admin create-db"

Reported by: bertrand.croq Owned by: apoirier
Priority: major Component: uncategorized
Version: 0.3.0 Keywords:
Cc:

Description

When initializing my database using "nagare-admin create-db .../app.cfg" I would like to import data from a file stored in the data folder of my application.

The problem is that WSGIApp.set_data_path() is not called when using "nagare-admin create-db" so my populate function cannot use the data_path declared in the configuration file to locate the file to import.

Note: See TracTickets for help on using tickets.