spelling
This commit is contained in:
parent
802a274aba
commit
2e0b0605a2
2 changed files with 5 additions and 5 deletions
2
dev.cfg
2
dev.cfg
|
@ -5,7 +5,7 @@
|
|||
# oxdbarchive/config/app.cfg
|
||||
|
||||
# DATABASE
|
||||
sqlobject.dburi="notrans_mysql://root@localhost/oxdbarchive?sqlobject_encoding=utf-8&use_unicode=1&charset=utf8"
|
||||
sqlobject.dburi="notrans_mysql://root@localhost/oxdbarchive?use_unicode=1&charset=utf8"
|
||||
|
||||
# SERVER
|
||||
server.socket_port=8081
|
||||
|
|
|
@ -40,8 +40,8 @@ class Archive(SQLObject):
|
|||
name = UnicodeCol(length=255, alternateID=True)
|
||||
basePath = UnicodeCol()
|
||||
baseUrlFrontend = UnicodeCol(default = '')
|
||||
published = DateTimeCol(defalut=datetime.now)
|
||||
modified = DateTimeCol(defalut=datetime.now)
|
||||
published = DateTimeCol(default=datetime.now)
|
||||
modified = DateTimeCol(default=datetime.now)
|
||||
|
||||
def _get_basePath(self):
|
||||
basePath = self._SO_get_basePath()
|
||||
|
@ -243,8 +243,8 @@ class ArchiveFile(SQLObject):
|
|||
pixels = IntCol(default = 0)
|
||||
|
||||
date_added = DateTimeCol(default=datetime.now)
|
||||
published = DateTimeCol(defalut=datetime.now)
|
||||
modified = DateTimeCol(defalut=datetime.now)
|
||||
published = DateTimeCol(default=datetime.now)
|
||||
modified = DateTimeCol(default=datetime.now)
|
||||
|
||||
height = IntCol(default = -1)
|
||||
width = IntCol(default = -1)
|
||||
|
|
Loading…
Reference in a new issue