Having ERROR running Django project !!!

2018-03-26 Thread Jamaldin Pro
Hello I was creating a Djnago project and when I finish it, it was working perfectly but when I start adding ("name"/"text"/"information") to models from admin page, It stops working I mean after adding I can't open my home page. *If I will try to open it, it auto downloads unknown file*. *I NE

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
I see no logs error and When I run it from chrome this error happens but when I try to use it from Internet e.version~9 it works normally, I can deal with it but also when I deploy to pythonanywhere there is error too. Yes I run it "python manage.py runserver" -- You received this message beca

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
> > It is unknown and When I try to open it, it shows programs to open with > I'm choosing chrome and my site opens without css/static/js I think that is > html file > DEBUG = True Can you tell me what files you need because I have a lot of files.setting.py? / wsgi.py? / urls.py? / template

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
https://github.com/XJoma/mk-center1 django version 1.11.5 now you have my project. So fix my problem plz !!! It is my first time uploading so I don't know how to not show my password -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Having ERROR running Django project !!!

2018-03-29 Thread Jamaldin Pro
Can you help? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@google

Re: Having ERROR running Django project !!!

2018-03-29 Thread Jamaldin Pro
hink that incoming data is something it can't handle and > downloads it. > > There is no parameter that would fit anything what could take another dict > besides context which you're already passing in. > > > On Thu, Mar 29, 2018 at 3:03 PM, Jamaldin Pro > wrote: > >

Re: Filtering Queryset by Foreign Key Properties

2018-03-30 Thread Jamaldin Pro
> > class ProductType(models.Model): > class Meta: > verbose_name_plural = 'тип' > verbose_name = 'типы' > > image = models.ImageField(upload_to='products_type_images/') > name = models.CharField(max_length=20, blank=True, null=True, > default=None) > is_active = m

Filtering Queryset by Foreign Key Properties

2018-03-31 Thread Jamaldin Pro
> > class ProductType(models.Model): > > image = models.ImageField(upload_to='products_type_images/') > name = models.CharField(max_length=20, blank=True, null=True, > default=None) > is_active = models.BooleanField(default=True) > > def __str__(self): > return "%s" % self

Re: Filtering Queryset by Foreign Key Properties

2018-03-31 Thread Jamaldin Pro
Can anyone help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@

Infinite scrolling, Ajax, Phone or PC?

2018-04-02 Thread Jamaldin Pro
Hello. How can I make Infinite scrolling html? example: https://www.megacom.kg/hype/ru.html#instruction How can I go from first url to another without reloading the website? How can I know if the user is entering my website from phone or pc? If user is entering from phone it should sho