onlinesource: sortierung, neues datumsformat 'dd.mm.yy',
neue quellen: finanzen.net/Stuttgard, s-broker
This commit is contained in:
parent
94169fb416
commit
94687139b1
2 changed files with 30 additions and 1 deletions
|
@ -28,7 +28,9 @@ sel_rgxidtype = [
|
|||
|
||||
sel_rgxdatefmt = [
|
||||
('%d.%m.%Y', 'dd.mm.yyyy'),
|
||||
('%d.%m.%y', 'dd.mm.yy'),
|
||||
('%m/%d/%Y', 'mm/dd/yyyy'),
|
||||
('%m/%d/%y', 'mm/dd/yy'),
|
||||
('%Y-%m-%d', 'yyyy-mm-dd'),
|
||||
('%b %d %Y', 'mon dd yyyy'),
|
||||
]
|
||||
|
@ -86,6 +88,11 @@ class OnlineSource(ModelSQL, ModelView):
|
|||
help='Identifier found during test query.'),
|
||||
'on_change_with_fndident')
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(OnlineSource, cls).__setup__()
|
||||
cls._order.insert(0, ('name', 'DESC'))
|
||||
|
||||
@classmethod
|
||||
def default_url(cls):
|
||||
""" defaul-url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue