Re: What's the simple way to implement a chat system in Django?

2017-10-05 Thread Alex Chiaranda
is use Firebase for the chat part an option ? On Monday, October 2, 2017 at 12:39:48 PM UTC-3, Kishore Srinivas wrote: > > I want to make a chat system in Django, but all those channel stuffs looks > difficult , so are there any other simpler way to implement a chat system, > thanks > -- You

RE: Bulk update instances to different values

2017-10-05 Thread Matthew Pava
Perhaps you will find this package helpful: https://github.com/aykut/django-bulk-update From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of David Foster Sent: Wednesday, October 4, 2017 10:51 PM To: Django users Subject: Bulk update instances to different valu

Re: Bulk update instances to different values

2017-10-05 Thread Derek
ttps://github.com/saxix/django-adminactions This app allows for what is termed "mass updates". On Thursday, 5 October 2017 05:50:45 UTC+2, David Foster wrote: > > I would like to update many model instances at a time in the database. > > If I could select all such instances using a single query a

Is it an error by Django?

2017-10-05 Thread utpalbrahma1995
The below code looks wierd. def __init__(self, content=b'', *args, **kwargs): super(HttpResponse, self).__init__(*args, **kwargs) # Content is a bytestring. See the `content` property methods. self.content = content The wierd part is /// content=b''/// -- You received

Django bugfix release: 1.11.6

2017-10-05 Thread Tim Graham
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2017/oct/05/bugfix-release/ -- 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

Re: Problm using FileField with inline formsets (inlineformset_factory)

2017-10-05 Thread YusufSalahAdDin
You saved my ass, thanks!!! El miércoles, 10 de septiembre de 2008, 13:46:20 (UTC+4), Daniel Roseman escribió: > > On Sep 10, 9:50 am, "c.poll...@bangor.ac.uk" > wrote: > > Hi > > > > I'm having a problem with inline formsets containing file field, i've > > had a good google but couldn't fi

Re: Is it an error by Django?

2017-10-05 Thread Lachlan Musicman
I'd imagine that's the new Python3 system. content is a bytestring, not unicode? Cheers L. -- "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics is the insistence that we cannot ignore the truth, nor should we panic about it. It is a shared consciousness that our inst

Re: Is it an error by Django?

2017-10-05 Thread Lachlan Musicman
Yeah, if you look in the docs here https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals "Bytes literals are always prefixed with 'b' or 'B'; they produce an instance of the bytes type instead of the str

Re: Implementation Advice: Categories and Product Specifications

2017-10-05 Thread James Schneider
On Oct 2, 2017 11:07 AM, "Paul" wrote: I have Product and Categories. A product can be in multiple categories and off course a Category have multiple products. Many to many relationship, likely with a custom 'through' model so you can attach other fields to the intermediary model. The Catego