Changeset aef89d3 for telemeta/models/media.py
- Timestamp:
- 02/06/12 22:59:57 (16 months ago)
- Branches:
- master, crem, crem2, dev, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test
- Children:
- e51c2f2
- Parents:
- a205ec9 (diff), ecd7964 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (02/06/12 22:59:57)
- git-committer:
- yomguy <yomguy@…> (02/06/12 22:59:57)
- File:
-
- 1 edited
-
telemeta/models/media.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/models/media.py
r25d44c7 raef89d3 52 52 from django.db import models 53 53 54 collection_published_code_regex = '[A-Za-z0-9._-]*' 55 collection_unpublished_code_regex = '[A-Za-z0-9._-]*' 54 55 # Special code regex of collections for the branch 56 collection_published_code_regex = 'CNRSMH_E_[0-9]{4}(?:_[0-9]{3}){2}' 57 collection_unpublished_code_regex = 'CNRSMH_I_[0-9]{4}_[0-9]{3}' 56 58 collection_code_regex = '(?:%s|%s)' % (collection_published_code_regex, 57 59 collection_unpublished_code_regex) 58 60 59 item_published_code_regex = '[A-Za-z0-9._-]*' 60 item_unpublished_code_regex = '[A-Za-z0-9._-]*' 61 # Special code regex of items for the branch 62 item_published_code_regex = collection_published_code_regex + '(?:_[0-9]{2,3}){1,2}' 63 item_unpublished_code_regex = collection_unpublished_code_regex + '_[0-9]{2,3}(?:_[0-9]{2,3}){0,2}' 61 64 item_code_regex = '(?:%s|%s)' % (item_published_code_regex, item_unpublished_code_regex) 62 65
Note: See TracChangeset
for help on using the changeset viewer.
