Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
ArnAud f303c0c241 start of lodel1 migration tool il y a 8 ans
Database [doxygen] Réécriture de la doc sur des méthodes de sqlsetup.py il y a 9 ans
EditorialModel start of lodel1 migration tool il y a 8 ans
Lodel MlString: __repr__() now return __str__() il y a 8 ans
LodelTestInstance Solved some bugs about conditionnal models instanciation in LodelTestInstance.models il y a 8 ans
.gitignore New version (again) of the fieldtypes il y a 8 ans
Doxyfile Adding graph generation to Doxyfile il y a 9 ans
README.md README : install documentation for test il y a 8 ans
lint Add a lint script used to test pep8 and lint error il y a 8 ans
makemigrations_interactive_rename.patch Added a dryrun option to the migration handler and solved a bug in the django patch file il y a 8 ans
manage.py Ajout du projet Lodel il y a 9 ans
requirements.txt First version of the DjangoMigrationHandler. Created a LodelTestInstance for tests purpose il y a 8 ans
runtest Added modify_rank test, done some refactoring and updated runtest utils script il y a 9 ans

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