Re: Django channels 1.1.3 not found on pip

2017-04-06 Thread Andrew Godwin
This is now fixed. There was a problem with the release process. Andrew On Fri, Apr 7, 2017 at 4:19 AM, Vaisagh Viswanathan wrote: > I am using django-channels for my project and I needed the specific bug > fix that is part of 1.1.3 version. However, even though the release notes: > https://cha

Django channels 1.1.3 not found on pip

2017-04-06 Thread Vaisagh Viswanathan
I am using django-channels for my project and I needed the specific bug fix that is part of 1.1.3 version. However, even though the release notes: https://channels.readthedocs.io/en/stable/releases/index.html say that 1.1.3 is out, I can't find it on pip. Is there generally a delay in this appe

Re: Filter list dict in JsonField Postgres

2017-04-06 Thread Camilo Torres
Hi, What is JSONField? Is it part of Django or from a third party package? On Monday, April 3, 2017 at 10:34:18 AM UTC-4, Martin Peveri wrote: > > Hi, I have this model: > > class ItemCampaign(models.Model): > >campaign = models.ForeignKey( >Campaign, related_name="itemscampaign", verb

Django 1.11 doesn't work well behind pgBouncer

2017-04-06 Thread Sergey Fursov
Hi! In our application stack we connect from our web/background workers to postgres database through dedicated pgBouncer service. pgBouncer use transaction pooling Connections work in autocommit mode. After upgrading to 1.11 version with new server-side cursors for iterator method, many of our DB

Re: Include pictures in content

2017-04-06 Thread john
I normally don't jump into discussions - so I apologize in advance! Try reading this link: https://docs.djangoproject.com/en/1.10/howto/static-files/ Johnf On 04/06/2017 11:50 AM, ard...@dunnsmail.co.uk wrote: Thanks ludovic, I haven't had any success yet, but your answer has led me deeper i

Re: Include pictures in content

2017-04-06 Thread Ardunn
Thanks ludovic, I haven't had any success yet, but your answer has led me deeper into the django maze! On Thursday, April 6, 2017 at 11:59:29 AM UTC+1, ard...@dunnsmail.co.uk wrote: > > I am new to using django which has been used to create our church website. > I want to incorporate pictures

An app to make migrations faster on Django 1.8

2017-04-06 Thread Shai Berger
Hi all, As you may be aware, Django 1.8 migrations have some performance issues, especially if you have a lot of apps with a lot of migrations. Django 1.9 improved on this somewhat, and AFAICT Django 1.10 solved the problem, so that the time taken is really mostly the time taken by database ope

PostGIS intersects lookup with raster and geometry

2017-04-06 Thread Emanuele Di Giacomo
Hi, reading the documentation, I've found that `rast__intersects=geom` is translated to `ST_Intersects(ST_Polygon(rast), geom)`)[1], but in PostGIS documentation I've found that it's possible to mix rasters and geometries [2]. `ST_Intersects(raster, geom)` can be quite faster than `ST_Intersects(S

Re: Include pictures in content

2017-04-06 Thread ludovic coues
You could try http://your.web.site/assets/images/image_name.jpg. Your settings.py and urls.py files could help to give a better answer. If home/assets/images contain images uploaded by your user, the doc [1] explain how to make them available at an url on your website. [1] https://docs.djangopr

Re: ORM for structured Logs

2017-04-06 Thread knbk
Hi Thomas, The primary purpose of logging is to catch and examine errors. If something went wrong, you want to know *when *and *why*. Logging to a database increases the complexity and greatly increases the number of things that can go wrong. The last thing you want to find out when retracing a

Request for collaboration: django-cruds-adminlte

2017-04-06 Thread Óscar M . Lage
Hi. Weeks ago I've started a new project called django-cruds-adminlte, a kind of crud generator (CRUDMixin) with the AdminLTE template. You can read more information in the github repository. Would be nice to receive any kind of feedback and - even better - any type of contributions. If anyone

Include pictures in content

2017-04-06 Thread ardunn
I am new to using django which has been used to create our church website. I want to incorporate pictures into content on a post. The 'insert image' icon on the content toolbar asks for an 'image web link'. The pictures I want to include (as pictures, not as links) are on the web site in the de

Re: ORM for structured Logs

2017-04-06 Thread Christian Ledermann
On 6 April 2017 at 09:15, guettli wrote: > Hello Brick Wall, how are you doing? Hello Stonemason. What is your question? I do not have a strong opinion on your approach - i don't even know the problem you are trying to solve. or how big your logs are. a couple of KB per day or some GB per hour?

Re: ORM for structured Logs

2017-04-06 Thread guettli
Hello Brick Wall, how are you doing? Am Dienstag, 4. April 2017 14:18:42 UTC+2 schrieb guettli: > > In the past I was told: Don't store logs in the database. > > Time (and hardware) has changed. > > I think it is time to store logs where I have great tools for analyzing > logs. > > Storing in a m

Re: installing django and deploying it in a shared hosting

2017-04-06 Thread ludovic coues
We won't be able to help or anything without a lot more of details. On 5 Apr 2017 11:29 pm, "harrison wachira" wrote: > I was unable to deploy django in a shared hosting > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe fr