Disallowed User Agents | Force To upgrade

2018-01-06 Thread Ruchit Bhatt
In my new Django project, i am planning to use CSS Grid for template layout. To make site responsive without using bootstrap. So here i want to know how can i block or force to upgrade those browser which doesn't support CSS grid ?? For testing purpose i tried this in *settings.py* but noth

Form help_text and error list styling

2018-01-11 Thread Ruchit Bhatt
Hi I have made form for signup using Django 2.0 as below {% csrf_token %} {% for non_field_error in form.non_field.errors %} {{ non_field_error }} {% endfor %} {% for field in form %} {{

modelform DateField rendering as text

2018-01-22 Thread Ruchit Bhatt
*models.py* class HumanUser(AbstractUser): birth_date = models.DateField(null=True, blank=True, verbose_name=u "DOB") *forms.py* class profile_form(forms.ModelForm): def __init__(self, *args, **kwargs): kwargs.setdefault('label_suffix', '') super(profile_form, self

Re: modelform DateField rendering as text

2018-01-22 Thread Ruchit Bhatt
yes, it should be ok i will check that link -- 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, s

Re: modelform DateField rendering as text

2018-01-22 Thread Ruchit Bhatt
Is there any bootstrap hack to fix this ?? -- 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

Re: modelform DateField rendering as text

2018-01-23 Thread Ruchit Bhatt
Hi,i tried that and got this. Double "type" (no override). -- 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 t

Re: modelform DateField rendering as text

2018-01-23 Thread Ruchit Bhatt
*solved* forms.DateInput.input_type="date" forms.DateTimeInput.input_type="datetime-local" -- 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+unsubsc

Dynamic update template

2018-01-27 Thread Ruchit Bhatt
Hi folks, Currently i am using Django at basic/intermediate level. And in my web template, single page contains more than one *Forms*, many *chart.js* widgets for to plot graph, plus 2-3 small widget for task management. Now i want to make my site more dynamic (i.e update UI without reloading wh

Re: Dynamic update template

2018-01-27 Thread Ruchit Bhatt
Ok,so you are suggesting front-end framework to make life easier. Do you have any personal choice over angularjs / React / Vue ? One more thing, how security will work in this case because javascript runs on client side & anybody can read how js code comunicating with backend ? -- You received

Re: Dynamic update template

2018-01-27 Thread Ruchit Bhatt
Ok.Thank you so much for reply. -- 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 d