remove table duke, add table house

main
jgenero 3 years ago
parent e6174f4283
commit 1217a2ee16

@ -24,10 +24,6 @@ class BaseModel(peewee.Model):
class Meta:
database = db
# db = SqliteDatabase('actes_princiers.db')
# from app.app import db
class Institution(BaseModel):
id_institution = peewee.AutoField()
full_label = peewee.TextField()

@ -7,7 +7,7 @@ from flask import Blueprint, abort, render_template, request, send_from_director
from playhouse.flask_utils import PaginatedQuery
from .app import APPPATH
from .modeles import Institution, State, Production_place, Diplo_type, Document, Acte, Individual, Duke, Produced_by
from .modeles import Institution, State, House, Production_place, Diplo_type, Document, Acte, Individual, Produced_by
RESULT_PAR_PAGES = 5

Loading…
Cancel
Save