ArnAud
d854b468e0
Lodel: first draft of Settings class
9 years ago
ArnAud
179d0c3a7e
delete old code
9 years ago
ArnAud
4f1fc375eb
mosql utils: no quote around column definitions
9 years ago
Yann Weber
052ddd4ce8
Bugfixes in lefactory and letype
Deleted the classinstancemethod decorator because of inheritance problems (not sure they were real...)
Add a shortcut method to LeFactory to get the generated LeObject class
+ bugfixes
9 years ago
Yann Weber
c2ce3e3717
And another file I forgeted
9 years ago
Yann Weber
eba6e9d6cf
Deleted most of Django code/files
9 years ago
ArnAud
ce219de48a
Editorial Model: first shot at the SQL migration handler (bye-bye django)
9 years ago
Yann Weber
c0bea01d0e
Updated the django listfieldtype command (useless since we planned to remove django -_-) + disabling the LodelTestInstance calls to djangoMh
9 years ago
ArnAud
6d3ca3e6a9
MlString: __repr__() now return __str__()
9 years ago
Yann Weber
ebad5fae54
Moving random EM generation methods in a dedicated file
Creating a class RandomEm in EditorialModel/randomem.py
9 years ago
Yann Weber
f2027275e3
Addapt graphviz backend and random EM generator to changes on master branch
Mostly about the changes on types hierarchy
9 years ago
Yann Weber
8ed5b666a9
Added a manage.py command to generate random EM
9 years ago
Yann Weber
cedf457ee0
Bugfix on instanciation and infinit grows of translations
9 years ago
ArnAud
218d1f9afc
MlString: ensure __str__() will always output same string by ordering the keys
9 years ago
Yann Weber
f1a9a7d520
Added new loggers settings
9 years ago
Yann Weber
d35fa8c56e
Cleaning and commenting
9 years ago
Yann Weber
2b6615775c
Added a django admin command to list fieldtypes
9 years ago
Yann Weber
1137205c99
Solved some bugs about conditionnal models instanciation in LodelTestInstance.models
Added Lodel/settings/migrations.py that I forget
Disabled the --merge option that was given to the makemigrations command by the MH
9 years ago
Yann Weber
8bea52d740
Code cleaning and adding features to generate models in application only when not testing with the MH
9 years ago
Roland Haroutiounian
a86bbfbd49
[mlstring] Mise à jour des todo avec le process à implémenter
On se base sur gettext, mais avec l'utilisation d'une langue par défaut qui sera obligatoire lors de la création de la chaine.
9 years ago
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
9 years ago
Yann Weber
27d178e531
Code factorization and create methods for EmComponent and childs changes
Behaviour changed for EmComponent and childs create method :
- Takes care of duplicated names at creation
- Handle all the checks in EmComponent method
Factorization of EmField.get_class_table() method
Added a @property method class_table_name to EmClass
9 years ago
Yann Weber
c74f65ac55
Normalize comments for MlString
9 years ago
Yann Weber
712a2710a0
Added __eq__ to MlString
Now an MlString instance is able to say if another MlString instance is equivalent using mlstr1 == mlstr2
9 years ago
ArnAud
fbb6a39261
mlstring: delete an translation
9 years ago
ArnAud
50fb6fa1fd
mlstring: empty mlstring should be an empty string
9 years ago
ArnAud
c779ede921
MlString: Class to handle multilingual strings
9 years ago
Yann Weber
ebdb512500
Modification to be less dependent to django + logging in db wrapper
9 years ago
Yann Weber
eeaaf945d2
Created the class MlString and fixing syntax error
Created the class Lodel.utils.mlstring.MlString needed by EditorialModel.lib.component.EmComponent
The first test pass ! =)
9 years ago
Yann Weber
8f2a3655bb
Renaming and moving files + fixed a bug in Lodel.settings imports
Lodel/sttings/__init__.py wasn't able to import files when called by manage.py
Renaming em to EditorialModel and moved Em* objects to EditorialModel/lib
Adding a first test (that do not pass because of syntax errors in Em* classes)
9 years ago
Roland Haroutiounian
f24274a4d8
Ajout du projet Lodel
9 years ago