Revision 67114d6e cloudcms/models.py
b/cloudcms/models.py | ||
---|---|---|
126 | 126 |
from cloudcms.clients import ClientVersions |
127 | 127 |
for s in self.clientversionsource_set.all(): |
128 | 128 |
sources[s.os] = {'type': s.source_type, |
129 |
'args': [s.link]} |
|
129 |
'args': [s.link], 'source': s}
|
|
130 | 130 |
|
131 | 131 |
return ClientVersions(sources, cache_backend=cache) |
132 | 132 |
|
... | ... | |
155 | 155 |
choices=(('link', 'Link'), |
156 | 156 |
('direct', 'Direct'), |
157 | 157 |
('pithos_xml', 'Pithos XML'), |
158 |
('url_extract', |
|
159 |
'Extract url using regex'), |
|
158 | 160 |
('redmine_files','Redmine files'))) |
159 | 161 |
os = models.CharField(max_length=255) |
160 | 162 |
link = models.CharField(max_length=255) |
Also available in: Unified diff