Commit ec10ad21 authored by Florent Chehab's avatar Florent Chehab
Browse files

Bug prevention in load_data

parent 9eb85837
......@@ -4,9 +4,11 @@ from .loading_scripts import LoadCountries
from .loading_scripts import LoadUniversities
from .loading_scripts import LoadTags
from .loading_scripts import LoadUniversityEx
import reversion
def load_all():
with reversion.create_revision():
admin = LoadAdminUser().get()
LoadCurrencies(admin).load()
LoadCountries(admin).load()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment