recommendation for Django + Bootstrap

2017-06-27 Thread Alceu Rodrigues de Freitas Junior
Hello folks, Could you please recommend any options available to integrate Django and Boostrap? I find out projects like https://github.com/dyve/django-bootstrap3, but I'm new to Boostrap and need something very basic: my views/templates should render nicely in different sizes os screens

Re: Django signals **kwargs

2017-06-27 Thread yingi keme
Okkk.. Thanks Vijay.. Yingi Kem > On 27 Jun 2017, at 9:53 PM, Vijay Khemlani wrote: > > Same link > > https://docs.djangoproject.com/en/1.11/ref/signals/#post-save > > post_save¶ > > django.db.models.signals.post_save¶ > Like pre_save, but sent at the end of the

Re: Django signals **kwargs

2017-06-27 Thread Vijay Khemlani
Same link https://docs.djangoproject.com/en/1.11/ref/signals/#post-save post_save¶ django.db.models.signals.post_save¶ Like pre_save

Re: Django signals **kwargs

2017-06-27 Thread yingi keme
Okk. But what i am actually asking is, what type of contents does the **kwargs. Give me a typical example of **kwargs in the context of signals. The actual data **kwargs may contain. Yingi Kem > On 27 Jun 2017, at 9:24 PM, Vijay Khemlani wrote: > >

Re: Django signals **kwargs

2017-06-27 Thread Vijay Khemlani
https://docs.djangoproject.com/en/1.11/topics/signals/#receiver-functions We’ll look at senders a bit later, but right now look at the **kwargs argument. All signals send keyword arguments, and may change those keyword arguments at any time. In the case of request_finished, it’s documented as

Django signals **kwargs

2017-06-27 Thread yingi keme
So i want to know, when using a model signals. The reciever function has **kwargs. What is the content of **kwargs in this reciever function below: @reciever(post_save, sender=MyModel) def func(sender, instance, **kwargs): # some action. -- You received this message because you are

Re: Need to connect to django test database from out side of django(celery worker)

2017-06-27 Thread Avraham Serour
> how do I get the work process, which tries to access the data model, to talk to the "test" database The same way django has a settings.py file I believe your celery worker should also have something similar. When starting the worker you should tell it to use test_settings.py instead of

JSONField on Django 1.8

2017-06-27 Thread Fabio C. Barrionuevo da Luz
Hello, does anyone know of any good Django 1.8 compatible backport of Django 1.9 > JSONField? I would like to use JSONField and ORM query lookups, however it still was not allowed by my employer to migrate to the new version of Django. -- Fábio C. Barrionuevo da Luz Palmas - Tocantins - Brasil

Re: Websocket, an existing connection was forcibly closed by the remote host. django-channels

2017-06-27 Thread Andrew Godwin
I would need to see the full console output of the server, and a full package version listing of what you have installed to help you further. On Sun, Jun 25, 2017 at 12:48 PM, Mike Johnson Jr wrote: > So I'm getting the error as described in the title of this post. > >

Re: NOVICE Question; Installing Django 1.11.2 in Python 3.6 with the correct path

2017-06-27 Thread Antonis Christofides
In addition, don't use spaces on either side of the == Antonis Christofides http://djangodeployment.com On 2017-06-27 19:02, Vijay Khemlani wrote: > You should run pip from the command line, not from inside the python > interpreter shell > > On Tue, Jun 27, 2017 at 11:25 AM,

Re: Passing template_context vars to the starproject command

2017-06-27 Thread dom
Hi Nikos This is VERY far…but… I think we ended up making our own startproject command see an example here : https://github.com/credis/django-coop/blob/master/coop/management/commands/startproject.py hope this helps Cheers Dom Le 9 mai 2017 à 13:44, manikos a écrit : >

Re: NOVICE Question; Installing Django 1.11.2 in Python 3.6 with the correct path

2017-06-27 Thread Vijay Khemlani
You should run pip from the command line, not from inside the python interpreter shell On Tue, Jun 27, 2017 at 11:25 AM, wrote: > A a Novice to Python and to Django How do i install Django into the > correct path , I followed the instruction in a Django manual and got an >

NOVICE Question; Installing Django 1.11.2 in Python 3.6 with the correct path

2017-06-27 Thread hliddic
A a Novice to Python and to Django How do i install Django into the correct path , I followed the instruction in a Django manual and got an error message; How do I install Django 1.11.2 on windows 10 with the following sys path >>> import sys >>> sys.path

Help with styling: form for a many-to-many inline admin

2017-06-27 Thread Derek
I am trying to improve the appearance of the inline editing appearance for a many-to-many field in the Django (1.10) admin . The parent model contains the link: class Sample(models.Model): id = models.AutoField(primary_key=True) # ... objectives = models.ManyToManyField(

Django Telegram Group

2017-06-27 Thread Dimas Ari
hello, if you are telegram user and finding django group we have new small community here https://t.me/djangogroup or you can search @djangogroup from telegram. i hope this group can help more django user. thanks -- You received this message because you are subscribed to the Google Groups