Yann Weber
967be41ede
Disabled tests on LeDatasource SQL
преди 9 години
ArnAud
d854b468e0
Lodel: first draft of Settings class
преди 9 години
ArnAud
179d0c3a7e
delete old code
преди 9 години
ArnAud
4f1fc375eb
mosql utils: no quote around column definitions
преди 9 години
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 години
Yann Weber
c2ce3e3717
And another file I forgeted
преди 9 години
Yann Weber
eba6e9d6cf
Deleted most of Django code/files
преди 9 години
ArnAud
ce219de48a
Editorial Model: first shot at the SQL migration handler (bye-bye django)
преди 9 години
Yann Weber
c0bea01d0e
Updated the django listfieldtype command (useless since we planned to remove django -_-) + disabling the LodelTestInstance calls to djangoMh
преди 9 години
ArnAud
6d3ca3e6a9
MlString: __repr__() now return __str__()
преди 9 години
Yann Weber
ebad5fae54
Moving random EM generation methods in a dedicated file
Creating a class RandomEm in EditorialModel/randomem.py
преди 9 години
Yann Weber
f2027275e3
Addapt graphviz backend and random EM generator to changes on master branch
Mostly about the changes on types hierarchy
преди 9 години
Yann Weber
8ed5b666a9
Added a manage.py command to generate random EM
преди 9 години
Yann Weber
cedf457ee0
Bugfix on instanciation and infinit grows of translations
преди 9 години
ArnAud
218d1f9afc
MlString: ensure __str__() will always output same string by ordering the keys
преди 9 години
Yann Weber
f1a9a7d520
Added new loggers settings
преди 9 години
Yann Weber
d35fa8c56e
Cleaning and commenting
преди 9 години
Yann Weber
2b6615775c
Added a django admin command to list fieldtypes
преди 9 години
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 години
Yann Weber
8bea52d740
Code cleaning and adding features to generate models in application only when not testing with the MH
преди 9 години
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 години
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
преди 9 години
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 години
Yann Weber
c74f65ac55
Normalize comments for MlString
преди 9 години
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 години
ArnAud
fbb6a39261
mlstring: delete an translation
преди 9 години
ArnAud
50fb6fa1fd
mlstring: empty mlstring should be an empty string
преди 9 години
ArnAud
c779ede921
MlString: Class to handle multilingual strings
преди 9 години
Yann Weber
ebdb512500
Modification to be less dependent to django + logging in db wrapper
преди 9 години
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 години
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 години
Roland Haroutiounian
f24274a4d8
Ajout du projet Lodel
преди 9 години