12 lines
175 B
Python
12 lines
175 B
Python
|
"""
|
||
|
Clears gramps data
|
||
|
"""
|
||
|
|
||
|
import os
|
||
|
os.environ["DJANGO_SETTINGS_MODULE"] = "settings"
|
||
|
import settings
|
||
|
|
||
|
import grampsdb.models as dj
|
||
|
|
||
|
dj.clear_tables("primary", "secondary")
|