How to order queries by exact match first

2013-03-06 Thread Alexander Todorov
Hi guys, I have this type of query: .filter(name__icontains='celery') and will possibly replace it with .filter(Q(name='celery') | Q(name__icontains='celery')) I want to get the results ordered by exact match first. Is this possible or I need to sort the results in my code? Regards, Alex

CRM like / email thread functionality for Users

2013-01-15 Thread Alexander Todorov
Hi folks, I'm looking for an application/module to achieve the following functionality: 1) Be able to send email (via send_email) to a specific User of my site 2) Record what was sent and when 3) Be able to capture incoming replies and record them 4) Route the incoming reply to an admin. Ideall

Re: How to sync data between two DBs

2012-10-17 Thread Alexander Todorov
On Tuesday, October 16, 2012 6:54:52 PM UTC+3, Nikolas Stevenson-Molnar wrote: > > Do you already have data on the new database which you need to preserve? > If not, would a simple SQL dump work? > > It will work but this is not the best solution I can think of (I'm not MySQL guru). The bigg

How to sync data between two DBs

2012-10-16 Thread Alexander Todorov
Hello guys, I'm in the process of migrating from self managed MySQL DB to Xeround cloud database and would like to synchronize my objects. The sync is only in one direction: OLD DB -> NEW DB, then switch to the new DB entirely. South mentions data migrations which are in fact data transformatio

Announcement: django-s3-cache - Amazon S3 cache backend

2012-07-13 Thread Alexander Todorov
Hi everyone, I see people are using this list for small announcements so here it is :) I've just released a (what appears to be) working version of a custom cache backend which stores data into Amazon Simple Storage Service (S3). It is largely based on the existing filesystem backend with some m