Michael Price
424d6a5af9
Standardize the way storages are used. All apps that use storage now define their storages in the .storages modules instead of the .runtime module. The storage.backends.filebasedstorage.FileBasedStorage has been remove, instead Django's default storage is used and each app is responsible of specifying their default path.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-03 02:32:28 -04:00
Michael Price
53239385ae
Add the "to=" keyword argument to all ForeignKey, ManayToMany and OneToOne Fields.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:49:04 -04:00
Roberto Rosario
eb7b189970
Add generic error log model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:12:52 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
d5b5927c77
Reference file in storage backend by name and not by path.
2015-07-13 02:03:30 -04:00
Roberto Rosario
afafd45af9
Preserve original filename when saving.
2015-07-08 00:59:56 -04:00
Roberto Rosario
4f044cecc7
Don't use the original's filename as a path. Provide an open() method which return a proper file-like object.
2015-07-07 01:24:34 -04:00
Roberto Rosario
091dad9b45
Fix SharedUpload model field name.
2015-07-06 14:32:37 -04:00
Roberto Rosario
f0cfe314f0
PEP8 cleanups
2015-07-01 16:45:33 -04:00
Roberto Rosario
f65fb2cd6c
Remove anonymous user support
2015-07-01 02:45:58 -04:00
Roberto Rosario
37b4f42afe
Remove autoadmin code and move it to the external django-autoadmin package
2015-06-14 03:51:36 -04:00
Roberto Rosario
26d64c45f5
Add the @python_2_unicode_compatible to all models. Closes issue #67
2015-04-01 02:40:19 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
090302676d
Implement GUI language and timezone as user preferences, issue #114
2015-01-11 17:38:47 -04:00
Roberto Rosario
099844e15d
Add SharedUploadedFile model to distribute work files between Mayan nodes easier
2014-10-29 05:46:26 -04:00
Roberto Rosario
37875df7a1
Add missing imports, PEP8 cleanups
2014-10-09 20:25:55 -04:00
Roberto Rosario
3990900433
Issue #39 , Fix common model messages capitalization
2014-10-08 10:23:08 -04:00
Roberto Rosario
3bed82fc16
PEP8 cleanup, unused imports, missing imports, style cleanups
2014-07-10 02:45:19 -04:00
Roberto Rosario
f2cd288574
Add anonymoususer sigleton model manager
2014-07-10 01:47:15 -04:00
Roberto Rosario
5212d84090
Remove common app's Singleton model and use django-solo's SingletonModel instead
2014-07-10 01:26:51 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00