Re: Django migrate throws AttributeError and I can't understand why

2016-10-09 Thread Bogdan P.
I managed to solve this problem :) In the model class instead of description = models.TextField I must write description = models.TextField(), I forgot the parentheses. On Sunday, October 9, 2016 at 3:39:10 PM UTC+3, Bogdan P. wrote: > > Hello everyone. > I started to learn python and django and

Django migrate throws AttributeError and I can't understand why

2016-10-09 Thread Bogdan P.
Hello everyone. I started to learn python and django and now I am building a small app so I can get used to them. my first problem is that I've created a new model class Task with this structure: name = models.CharField(max_length=100) description = models.TextField modified_at = models.DateTi

Re: django runserver does not work

2016-10-09 Thread 居飞
The problem has been fixed. It is caused by SELinux audit failed. It is ok now. Thanks. 在 2016年10月8日星期六 UTC+8下午10:07:46,居飞写道: > > Hi: >I installed the django 1.10.2 on Centos, after I started a project and > run the "python manage.py migrate", then run "python manage.py runserver", > it