Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Yann Weber 556a3d1f18 Removed a risk of circular import 9 gadus atpakaļ
EditorialModel Removed a risk of circular import 9 gadus atpakaļ
Lodel Updated the django listfieldtype command (useless since we planned to remove django -_-) + disabling the LodelTestInstance calls to djangoMh 9 gadus atpakaļ
LodelTestInstance Updated the django listfieldtype command (useless since we planned to remove django -_-) + disabling the LodelTestInstance calls to djangoMh 9 gadus atpakaļ
leobject [untested, dev] Updated the code for leobject, leclass and letype 9 gadus atpakaļ
.gitignore New version (again) of the fieldtypes 9 gadus atpakaļ
Doxyfile Adding graph generation to Doxyfile 9 gadus atpakaļ
README.md README : install documentation for test 9 gadus atpakaļ
lint Add a lint script used to test pep8 and lint error 9 gadus atpakaļ
makemigrations_interactive_rename.patch Added a dryrun option to the migration handler and solved a bug in the django patch file 9 gadus atpakaļ
manage.py Ajout du projet Lodel 9 gadus atpakaļ
requirements.txt First version of the DjangoMigrationHandler. Created a LodelTestInstance for tests purpose 9 gadus atpakaļ
runtest Added modify_rank test, done some refactoring and updated runtest utils script 9 gadus atpakaļ

README.md

First test installation :

  • use python 3.4

** install dependencies pip install -r requirements.txt

** create local config in Lodel/settings/locale.py DATABASES = {

'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'lodel2',
    'USER': 'lodel',
    'PASSWORD': 'lodel',
    'HOST': 'localhost',
}

}

** create DATABASES mysql

CREATE DATABASE lodel2 CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL ON lodel2.* TO “lodel”@“localhost”;

** Apply patch(es) for django …

  • makemigrations_interactive_rename.patch => fix makemigrations interactive parameter cd path/to/django/ patch -p2 < /path/to/lodel2/makemigrations_interactive_rename.patch

** create tables for django

if not clean : mysql

DROP DATABASE lodel2; recreate database rm -rf LodelTestInstance/migrations/

./manage.py makemigrations --empty LodelTestInstance ./manage.py migrate