Re: Drawback of delete all migrations file

2016-12-09 Thread Sylvain Dégué
NVM i read loaddata documentation Le vendredi 9 décembre 2016 19:49:50 UTC-5, Sylvain Dégué a écrit : > > Thanks guy!!But how do I reload the my previous data to the new database > if the model changed?? > > Le vendredi 9 décembre 2016 13:39:50 UTC-5, Sylvain Dégué a écrit : &g

Re: Drawback of delete all migrations file

2016-12-09 Thread Sylvain Dégué
Thanks guy!!But how do I reload the my previous data to the new database if the model changed?? Le vendredi 9 décembre 2016 13:39:50 UTC-5, Sylvain Dégué a écrit : > > Im about to lauch a project that uses django for the api. So im only using > the admin side for now. Ive been havin

Drawback of delete all migrations file

2016-12-09 Thread Sylvain Dégué
Im about to lauch a project that uses django for the api. So im only using the admin side for now. Ive been having problem concerning the database and forms. Ive made many mistake while updating the database, when certain field didnt allow null. It caused IntegrityError, which I was able to fix

Re: cant start a new project ,just installed django

2016-10-03 Thread Sylvain Dégué
What Django & python version do you have? Le lundi 3 octobre 2016 19:07:03 UTC-4, new user a écrit : > > followed the intro: > https://docs.djangoproject.com/en/1.10/intro/tutorial01/ > > when i run django-admin startproject mysite > > its prompt : "manage.py already exists, overlaying a project o

Composite pattern for models

2016-10-03 Thread Sylvain Dégué
Hi, I was wondering if it was possible to apply the Composite Pattern in the models. If yes, how? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

Django Rest Framework inside of Django Project

2016-08-26 Thread Sylvain Dégué
Hi, I am building a mobile application and I need a Rest API and a web version of my app. So I was wondering if I could make a website with Django Rest Framework or if I have create a Django project for my website and a Django Rest Framwork for my API -- You received this message because you