X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4437d85206a7deb768c75a4fd1cb1b474e87efe3..a7a2b1c6daaa2266645abc5ee4fac91ce10a4c39:/apps/wiki/constants.py?ds=sidebyside diff --git a/apps/wiki/constants.py b/apps/wiki/constants.py index fe0a4462..d75d6b4b 100644 --- a/apps/wiki/constants.py +++ b/apps/wiki/constants.py @@ -1,5 +1,13 @@ # -*- coding: utf-8 -*- -import re -RE_TRIM_BEGIN = re.compile("^$", re.M) -RE_TRIM_END = re.compile("^$", re.M) +TRIM_BEGIN = " TRIM_BEGIN " +TRIM_END = " TRIM_END " + +MASTERS = ['powiesc', + 'opowiadanie', + 'liryka_l', + 'liryka_lp', + 'dramat_wierszowany_l', + 'dramat_wierszowany_lp', + 'dramat_wspolczesny', + ]