mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-02 22:07:58 +10:00
define database file in config.py
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import os
|
||||
__package__ = 'archivebox.core'
|
||||
|
||||
from legacy.config import (
|
||||
REPO_DIR,
|
||||
OUTPUT_DIR,
|
||||
from ..legacy.config import (
|
||||
TEMPLATES_DIR,
|
||||
DATABASE_DIR,
|
||||
DATABASE_FILE,
|
||||
)
|
||||
|
||||
|
||||
@@ -52,8 +50,6 @@ TEMPLATES = [
|
||||
|
||||
WSGI_APPLICATION = 'core.wsgi.application'
|
||||
|
||||
|
||||
DATABASE_FILE = os.path.join(DATABASE_DIR, 'database.sqlite3')
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
|
||||
Reference in New Issue
Block a user