Re: new to django

2018-10-24 Thread Mamadou Harouna Diallo
Hello, Are you active your virtuel env ? You must active the virtuel env Le jeu. 18 oct. 2018 à 09:20, a écrit : > "django-admin startproject mysite" i tried to run this in cmd propmt but it > is not working showing "django-admin' is not recognized as an internal or > external command," what

Re: MySQL caching_sha2_password

2018-11-15 Thread Mamadou Harouna Diallo
Are install pymysql ? If aren't you need install it Le jeu. 15 nov. 2018 18:19, Ansh Srivastava a écrit : > Hi experts, I am tryin' to connect to MySQL database and the following > error flashed! > > return Database.connect(**conn_params) > File >

Re: python manage.py runserver

2018-11-15 Thread Mamadou Harouna Diallo
Are you active your virtuel env if you are use it ? Or verify if you are in the folder where manage.py is ? Le jeu. 15 nov. 2018 18:14, a écrit : > python manage.py runserver isnt running with me > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: inserting data in django using forms

2018-12-29 Thread Mamadou Harouna Diallo
Its ORM object must make a CRUD( creat, insert, read, delete) in a database. You can use forms or not in the back but its ORM mutable data. Sorry my english is bea  Le sam. 29 déc. 2018 à 21:27, Saeed Pooladzadeh a écrit : > Hello, > > For inserting and editing data in a database should we

Re: problem with a form

2019-01-22 Thread Mamadou Harouna Diallo
Your model post has a comment_text attribut ? the slug passed are in the record table ? Have you a error or your text is just not display ? Le mar. 22 janv. 2019 à 14:15, Thiago Brito a écrit : > Hi > > I'm trying to save a post in my blog project. No problem. Its working. > But, when I try to

Re: DjangoRestFramework

2019-04-08 Thread Mamadou Harouna Diallo
Lorsque vous utiliser le cURL votre api vous retourne t-elle toutes les données dont vous avez besoin ? si c'est le cas, avez vous pris en compte les cors dans votre API, cela peut parfois être également une source d'erreur pour ceux qui consomme l'API. Vous pouvez installer les cors avec : pip