Re: Can anyone sove my issue please!

2019-10-22 Thread laya Mahmoudi
t; I put extra space in '__all__' > > See which i post image its clearly seen extra space over there in meta > class... > > On Tue, 22 Oct 2019, 5:31 pm laya Mahmoudi wrote: > >> At first, you don't need to write a model for user whith this fields. >> B

Re: Can anyone sove my issue please!

2019-10-22 Thread laya Mahmoudi
> pls open this link : > https://stackoverflow.com/questions/58502732/exception-in-thred-django-main-thread > > On Tue, 22 Oct 2019, 5:09 pm laya Mahmoudi wrote: > >> Now what is the error?? >> >> در تاریخ سه‌شنبه ۲۲ اکتبر ۲۰۱۹،‏ ۱۴:۴۵ Parvez Khan Pathan < &g

Re: Can anyone sove my issue please!

2019-10-22 Thread laya Mahmoudi
Now what is the error?? در تاریخ سه‌شنبه ۲۲ اکتبر ۲۰۱۹،‏ ۱۴:۴۵ Parvez Khan Pathan < iamparvezkha...@gmail.com> نوشت: > [image: pyissue1.png] > Sir Already Added! still got error!!! > > On Tuesday, 22 October 2019 16:38:34 UTC+5:30, laya Mahmoudi wrote: >> >> Hi, &

Re: Can anyone sove my issue please!

2019-10-22 Thread laya Mahmoudi
Hi, In your form.py , put fields:"__all__" در تاریخ سه‌شنبه ۲۲ اکتبر ۲۰۱۹،‏ ۱۴:۳۳ Parvez Khan Pathan < iamparvezkha...@gmail.com> نوشت: > > https://stackoverflow.com/questions/58502732/exception-in-thred-django-main-thread > > -- > You received this message because you are subscribed to the Googl

Re: where is the error in pagination?

2019-09-25 Thread laya Mahmoudi
Would you send your html codes relating to pagination در تاریخ چهارشنبه ۲۵ سپتامبر ۲۰۱۹،‏ ۱۵:۰۳ leb dev نوشت: > i tried your answer and display an error : > > That page number is not an integer > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gr

Re: Virtual Environment error

2019-09-25 Thread laya Mahmoudi
You os is linux pr windows? در تاریخ چهارشنبه ۲۵ سپتامبر ۲۰۱۹،‏ ۶:۴۴ yasar arafath Kajamydeen < yasar...@gmail.com> نوشت: > Dear All, > > Actually i forget my virtual environment name. So when i run -- python > manage.py runserver command its showing error like this . > > > ImportErro

Re: Class Based View All Methods

2019-09-23 Thread laya Mahmoudi
Mixinviews can works for your purpose در تاریخ دوشنبه ۲۳ سپتامبر ۲۰۱۹،‏ ۱۱:۲۵ Shakil Ahmmed < shakilfci...@gmail.com> نوشت: > Please Can You Give me some Exapmle? > > On Mon, Sep 23, 2019, 1:39 PM Abu Yusuf > wrote: > >> Check this: >> https://docs.djangoproject.com/en/2.2/ref/class-based-views/

Re: Multiple roles Django 2

2019-07-06 Thread laya Mahmoudi
You should add some code in your settings.py like AUTH_USER_MODEL= 'appname.modelname' which inherits django user mode. در تاریخ یکشنبه ۷ ژوئیهٔ ۲۰۱۹،‏ ۳:۳۷ Shazia Nusrat نوشت: > Hi All, > I am having hard time to get multiple roles for users in a project and I > am having errors. > I've added

Re: what is the meaning of this error

2019-07-06 Thread laya Mahmoudi
I usually fix this error by entering the exact version which matches the other installed packages. Like pip install packagenane== version like: 1.10 در تاریخ یکشنبه ۷ ژوئیهٔ ۲۰۱۹،‏ ۸:۱۵ Saeed Pooladzadeh نوشت: > Hello > > I try to use wagtail cms and my ide is visual studio with python plugin. >

Re: Help

2019-06-30 Thread laya Mahmoudi
If you can , send me your project to debug it. در تاریخ یکشنبه ۳۰ ژوئن ۲۰۱۹،‏ ۱۷:۰۵ mail2pramo نوشت: > The give to get the input from the user in table? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

extend New user model

2019-06-23 Thread laya Mahmoudi
Hi , I am new to django. my project is about a system which some users suck as student and Professors can sign up and login in the system and there are some courses which are defined with a professor and students can take the course. my model is as follow: class User(AbstractUser): is_stude

Re: Django field for image with FileAPI, croping, size limit and preview

2017-12-19 Thread laya Mahmoudi
Hello, How should i start designing a website with bottle framework?? On 19 Dec 2017 4:40 am, "IL Ka" wrote: > Hello. > > I am looking for Django application to support ImageField with the > following properties: > * JS FIleAPI in Admin (that means file is uploaded once selected and > validated