load_all.py 474 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
from .loading_scripts import LoadUniversityEx
Florent Chehab's avatar
Florent Chehab committed
7
8
9
10


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