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 година