Django, RDF & XUL

2006-11-08 Thread benj
me__icontains=filter) # or whatever else I'm doing rdf_list = translate_to_rdf_graph(pl) return HTTPResponse(rdf_list) I doubt anything will actually be that simple, but at this point I don't even know where to start. Can anyone share experience, ide

combining models in something like a queryset?

2006-06-05 Thread benj
w. I wish it were possible to create an iterable object like a queryset that could be assigned two models to do this more efficiently. If anyone has advice about any more efficient way to get this done, I'd appreciate it. Thanks, Benj --~--~-~--~~~---~--~~

Re: Filter, ForeignKey and edit_inline

2006-07-22 Thread benj
t.com/documentation/db-api/] Also, "Class" in your first line needs to be lowercase: class Event: Benj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: FileBrowser Test Version

2006-07-22 Thread benj
but this setting is already available in django.conf.settings.ADMIN_MEDIA_PREFIX, so it would be great to see that happen automatically. Thanks again, Benj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Filter, ForeignKey and edit_inline

2006-07-22 Thread benj
ce or number of openings could also change, no? Benj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Python / Django slow ? Deciding my next technological stack

2015-02-24 Thread Benj
r in the end that the site is slow. You that have real world experiences with running sites, what are your conclusions ? I expect sites to be medium traffic: could be handled by a good dedicated server or average cloud ressources. Benj -- You received this message because you are subscribed

Re: Python / Django slow ? Deciding my next technological stack

2015-02-25 Thread Benj
Thanks for quality answers guys, I'll definitely go the Python route and follow my initial intuition. On Wednesday, February 25, 2015 at 5:57:21 PM UTC+1, Nikolas Stevenson-Molnar wrote: > > On 2/25/2015 6:27 AM, Tom Evans wrote: > > On Tue, Feb 24, 2015 at 11:30 PM, Benj >

Re: Python / Django slow ? Deciding my next technological stack

2015-03-01 Thread Benj
. On Wednesday, February 25, 2015 at 3:28:34 PM UTC+1, Tom Evans wrote: > > On Tue, Feb 24, 2015 at 11:30 PM, Benj > > wrote: > > Hi, > > i'm going to invest lots of time and energy in various web projects > (mostly > > community web sites), and want to p

Re: Python / Django slow ? Deciding my next technological stack

2015-03-01 Thread Benj
place. Should this be done in code with things like asyncio, or server with uwsgi workers ? On Wednesday, February 25, 2015 at 3:28:34 PM UTC+1, Tom Evans wrote: > > On Tue, Feb 24, 2015 at 11:30 PM, Benj > > wrote: > > Hi, > > i'm going to invest lots of time and energy

async / await

2016-01-20 Thread Benj
Hi, on my django project, at a point i resize an image with pilow before associating it to django field, then saving the instance. is there any benefit in making the image resize / saving on disk async ? I heard that since django is a non async framework, there is no interest in doing so. But

Where to put signal handler file ?

2016-01-22 Thread Benj
Since I follow the recommended way of creating signal, I create a signals.py file in a project's app, an app.py config file, and initialize that in __init__. @receiver(pre_delete, dispatch_uid='document_delete_signal') But what if I don't want this to be tied to a specific app in the project,

Re: Code organisation

2016-01-22 Thread Benj
or in almost all the projects that I will >> building, and even some other apps in the same project will need this >> feature: the blog, the comments, the directory….. >> >> In this case, where to put this code ? What do guys and gals do usually >> in this situati

Re: Where to put signal handler file ?

2016-01-22 Thread Benj
Answer: create a django app for such utility: you will be able to use app features decoupled from specific model On Friday, January 22, 2016 at 4:09:47 PM UTC+1, Benj wrote: > > Since I follow the recommended way of creating signal, I create a > signals.py file in a project's