Multiple cache definitions all pointing to the same Redis instance. Is this okay?

2015-09-08 Thread EJ
Hi, I'm still learning about Django's caching features and had a question about my specific setup. My app uses a Redis-backed cache to store a variety of different data (including sessions, users, and other stuff). In *settings.py*, I've defined several caches, as shown below. These all poin

Dynamically alter a list based on selections on other widgets

2015-09-08 Thread Baktha Muralidharan
Hello I am looking to develop a GUI (Form?) in which I can display a list the contents of which change on the fly as the user makes other selections. For example, there could be a radio button (a simple yes/no button) - based on the selection, the displayed list needs to change dynamically. the

Re: bulk add m2m relationship for multiple instances

2015-09-08 Thread yakkadesign
I reviewed my code and the slow speed I was talking about was when I said |if a in myList]. I switched to the dict and I haven't noticed a performance hit from keeping a pointer to a list. I ended up switching to Postgres COPY for the importing. It's a lot faster. Brian -- You rec

Adding dynamic methods to ModelAdmin fails in 1.8

2015-09-08 Thread Malcolm Box
Hi, I'm trying to add a dynamic method to a ModelAdmin so that I can have automatically generated thumbnail fields for any image by simply adding '_thumbnail' to the field definitions - which saves a lot of code when there's a load of admin classes with image fields that need thumbnails. e.g.

Oracle DB, some help needed

2015-09-08 Thread Jani Tiainen
Hi everyone, I'm currently trying to maintain Oracle backends for Django and found interesting issue that I would like Oracle users to run in their databases. (I'm not sure can you run these in XE, you may try but I think these require full Oracle) Two SQL clauses that I would like you to run ar

Re: Django for data management in a no-UI application?

2015-09-08 Thread jsachs
I think I failed to explain my situation clearly, and I need to try again. I have been planning to develop a standard web application using Django. Due to a change in direction, the development plan has been changed to: 1. Develop a suite of no-GUI applications that run in a command line

Re: Django for data management in a no-UI application?

2015-09-08 Thread Carl Meyer
On 09/08/2015 04:06 PM, jsa...@nvidia.com wrote: > I have been planning to develop a standard web application using Django. > Due to a change in direction, the development plan has been changed to: > > 1. Develop a suite of no-GUI applications that run in a command line > window on a server.

What frontend-tools to use for a new CRM project? Shall I use Django OR switch to Meteor.js?

2015-09-08 Thread ThomasTheDjangoFan
Hi guys, I have invested quite a lot of time & energy into learning django and I feel comfy using it. (I have studied the 2 Scoops, the Tdd book and got the boook "Scaling Django" and "lightweight Django" right here next to me). It feels like I finally got the right tool, BUT: I am about to im

Re: Adding dynamic methods to ModelAdmin fails in 1.8

2015-09-08 Thread Simon Charette
Hi Malcom! I would suggest you have a look at the ModelAdmin.get_fields() method to append your thumbnail read-only field names. As documented

django.db.utils.DatabaseError: ORA-12704: character set mismatch

2015-09-08 Thread Mohsen Bande
i faced a strange issue, trying to store a list of items (of length ~30) into database via bulk_insert, i get django.db.utils.DatabaseError: ORA-12704: character set mismatchbut inserting items one by one via save is OK, even putting a few items(2~3) into bulk_insert sometimes works. -- You recei

bug in migration squashing

2015-09-08 Thread ?manu*
I had experienced a problem after squashing migrations. The problem is described here: http://stackoverflow.com/questions/31606372/django-migrations-build-graph-has-a-bug I have not a description of how to reproduce the bug, but I think I can say why the source code is wrong (see the link). Do

Re: What frontend-tools to use for a new CRM project? Shall I use Django OR switch to Meteor.js?

2015-09-08 Thread Gergely Polonkai
Hello, this all depends: if I'm a JS expert, I'd go with Meteor or another JS framework. If I'm a Python expert, I'd go with Django or another Python framework. Meteor's strength is in the fact that (almost) the same code runs on the server and in the browser (wether it's good or not is another s

Re: django.db.utils.DatabaseError: ORA-12704: character set mismatch

2015-09-08 Thread Jani Tiainen
Hi, Please provide following information: Django version Oracle database version cx_Oracle version If possible try to extract offending SQL. On 09.09.2015 08:10, Mohsen Bande wrote: i faced a strange issue, trying to store a list of items (of length ~30) into database via |bulk_insert|, i get

DJango coder required

2015-09-08 Thread Phillipnorcross
Hi there we require the services of a DJango coder to perform ongoing maintenance, small code changes and updates on an ongoing basis. If you are interested please email me your details, experience and hourly rate Regards Phillip -- You received this message because you are subscribed to the Go

CSRF error

2015-09-08 Thread kanyanwu
Hi, I have read through several post online about this CSRF issue and had no luck. I also read through the django documentation on CSRF and went step-by-step through the items needed to be added to the settings.py, template, etc for CSRF, and that was no luck as well. Here is what the webser