load_all.py 393 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
from .loading_scripts import LoadAdminUser
Florent Chehab's avatar
Florent Chehab committed
2
from .loading_scripts import LoadCurrencies
Florent Chehab's avatar
Florent Chehab committed
3
4
from .loading_scripts import LoadCountries
from .loading_scripts import LoadUniversities
Florent Chehab's avatar
Florent Chehab committed
5
from .loading_scripts import LoadTags
Florent Chehab's avatar
Florent Chehab committed
6
7
8
9


def load_all():
    admin = LoadAdminUser().get()
Florent Chehab's avatar
Florent Chehab committed
10
    LoadCurrencies(admin).load()
Florent Chehab's avatar
Florent Chehab committed
11
12
    LoadCountries(admin).load()
    LoadUniversities(admin).load()
Florent Chehab's avatar
Florent Chehab committed
13
    LoadTags(admin).load()