On Mon, Sep 27, 2010 at 10:07 AM, Mike Dewhirst wrote:
> On 27/09/2010 5:08pm, MrMuffin wrote:
>>
>> Where do you put your business logic in django? In my project I`ve put
>> it into the models.py, but that file soon become huge and hard to
>> maintain. Of course I can just stuff it into whatever
h cases it has the
> benefit that it forces you to think about dependancies management,
> which can greatly helps when it comes to maintainance.
Ok, I see your point, but still - there`s nothing about this in the
main django documentation as far as I know. The docs should have a
section about
On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
> On 9/27/2010 4:57 AM, Thomas Weholt wrote:
>> On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers
>> wrote:
>>> On 27 sep, 09:08, MrMuffin wrote:
>>>> Where do you put your business logic in django?
On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers
wrote:
> On 27 sep, 12:55, Thomas Weholt wrote:
>> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
>> > I think the point is to learn enough Python that you don't need
>> > Django-specific advice.
>&g
on of boilerplate code. Any thoughts or
ideas?
I`ll upload it to the cheeseshop as soon as I can get time to
debug/test a bit more. The code isn`t pretty at the moment, but it
seems to get the job done.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because yo
re users
can upload and backup their media and access it through a web
interface. Serving static media using django was terrible and using
nginx was incredibly fast, but I lost all access control to the static
media.
Any help on this subject would be highly appreciated.
--
Mvh/Best regards,
Thomas
On Thu, Sep 30, 2010 at 1:52 PM, Xavier Ordoquy wrote:
> Hi,
>
> Although I haven't done it, the following link may give you a good overview
> of how to do it:
> http://kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/
>
> Regards,
> Xavier.
>
> Le 30
that
platform. Doesn`t matter much to me, but we should work to make our
apps portable.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
quot;:
http://lifehacker.com/5496652/how-to-use-symlinks-in-windows
And it works on my vista box here at work :-)
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
to python land in general don`t forget
to pick up a book on plain python as well and read that first.
"Learning python" is good :-)
And as mentioned earlier the standard django tutorial is good, but the
http://djangobook.com/ is also a great reference.
--
Mvh/Best regards,
Thomas Wehol
tends "base_meek.html" %}
>> > {% block body %}
>> >
>> >
>> >
>> > {{ mobForm }}
>> >
>> >
>> >
>> > {% endblock %}
>>
>> > What am I doing
You might want to look at DSE as well. Currently is has some issues
with Django 1.4, but I'll look into fixing those tonight.
https://bitbucket.org/weholt/dse2
Regards,
Thomas Weholt
On Mon, Apr 2, 2012 at 7:24 AM, Victor Hooi wrote:
> Hi,
>
> I have several large CSV files that
oup.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Mvh/
"Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl
I want to make a few foreignkey-fields read-only in the admin after
the post is saved, ie when the change-form for that item is opened
after the item has been saved the two foreignkeys in question should
not be editable. In my case the user has to chose two foreignkeys when
first adding an entry, b
using a custom template extending the normal
change_list template. I cannot add these things to the modeladmin of
the models in question, it has to be done at runtime.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google
"sch-", "sec-", "send", "seri",
"sgh-", "shar",
"sie-", "siem", "smal", "smar",
"sony", "sph-",
"symb"
Exist:
>>> return
>>> else:
>>> view_kwargs["template"] = template
>>>
>>> return view_func(request, *view_args, **view_kwargs)
>>>
>>>
>>>
>>>
>>> from d
I'm using gunicorn and nginx on ubuntu when deploying my django
projects, but now I need to run a project on several platforms,
including windows. Is there a similar pure python configuration ( with
the expected reduced performance for serving static content )?
--
Mvh/Best regards,
Thomas W
ers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this
Ltd] wrote:
>
> --
> 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 this group, send email to
> django-users+unsubscr
need to
do this as well in my alternative view. I want to use the
date-hierarchy, filtering, pagination, admin actions etc you get for
free in the admin in my alternative view.
Is this possible? How do I reuse most of the existing admin code to
achieve this?
--
Mvh/Best regards,
Thomas Weholt
nding on the aforementioned attribute provided you're passing
> the request in the Context.
>
> This event allows you to fine tune which bits you want to change.
>
> Le 24 août 2011 23:38, "Thomas Weholt" a écrit :
>> I want to create a view looking and workin
ps? I want to create a similar piece of code as an
alternative change_list in the admin.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
ase
> unsubscribe<http://click22.googlegroups.com/cl/unsubscribe.php>
>
> 866-288-1880
> 5150 yarmouth ave, Encino, CA 91316
> On Sun, 28 Aug 2011 18:43:54 +0200, Thomas Weholt ** wrote:
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this mess
the change_form for the model are not
selected. Selected the values for the ManyToMany-field in the admin
manually is saved ok and display ok. What's the difference between
setting fields like this in code and doing it in the admin?
--
Mvh/Best regards,
Thomas Weholt
http://www.wehol
o unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscrib
Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/d
atetag to generate the url etc. Sorry if it's still of topic.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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.co
umbnails is actually the thing
> slowing your app down.
>
> Cheers,
> Cliff
>
>
> On Thu, 2011-09-15 at 15:24 +0200, Thomas Weholt wrote:
>> Ok, this might sound a bit off-topic but bear with me.
>>
>> I got a templatetag in an app that generates thumbnails (
>
t; can see which headers you need to set to tell the client browser to cache a
> resource.
>
>
> On Thu, Sep 15, 2011 at 4:51 PM, Thomas Weholt
> wrote:
>>
>> Good point Cliff! I just assumed serving static content would benefit
>> from caching, but perhaps m
You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/_OtQN-CLLLEJ.
> To post to this group, send email to django-users@googlegroups.com.
> To
is group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Mvh/Best regards,
Thomas Weholt
http://
>
>
> --
> 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 this group, send email to
> django-users+unsubscr...@googleg
ptana Studio.
>>
>> Thanks,
>> Anoop Thomas Mathew
>>
>> atm
>> ___
>> Life is short, Live it hard.
>>
>>
>>
>>
>>
>> On 19 December 2011 16:41, Thomas Weholt wrote:
>>>
>>> Pycharm +1
>>>
>>>
ou are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> htt
t; django-users+unsubscr...@googlegroups.com
>> > (mailto:django-users+unsubscr...@googlegroups.com).
>> > For more options, visit this group
>> > athttp://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the G
time on my
django projects if they generated some kind of income.
What do you think? How would a dual license be recieved in the django
community? Any tip or thought on the subject would be appreciated.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message
This is a recurring problem for django users obviously by the amount of
posts returned by google and I've had this problem in the past as well, but
cannot remember how I got around it. Googling did'nt help either.
When I use Norweian characters like ØÆÅ in CharField-field in the django
admin I
tch to the maintainers.
First up; Django debug toolbar :-)
Thomas
On Monday, January 28, 2013 10:07:22 PM UTC+1, Thomas Weholt wrote:
>
> This is a recurring problem for django users obviously by the amount of
> posts returned by google and I've had this problem in the past as well, but
rom this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.g
), django-debug-toolbar,
django-celery etc.
Are there any focus in the community on getting packages ready for python3?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
you
can browse the source at
https://bitbucket.org/weholt/django-quickview. The testsite-folder at
bitbucket contains a working example.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users&qu
ls from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
&
pt_out.
>>
>>
>
>
> --
> 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 to django-users+unsubscr...@googlegroups.com.
>
;-)
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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
to django-users+unsubscr...@googlegroups.com.
To po
Packaging python is hard!! Fixed the problem now.
pip install django-quickview works.
Sorry.
Thomas
On Thu, Feb 28, 2013 at 5:03 AM, Bino Oetomo wrote:
>
>
> On Feb 28, 2:39 am, Thomas Weholt wrote:
>>
>> Documentation and tutorial
>> athttps://bitbucket.org/
On Thu, Feb 28, 2013 at 4:10 PM, Tom Evans wrote:
> On Wed, Feb 27, 2013 at 7:39 PM, Thomas Weholt
> wrote:
>> pypi : https://pypi.python.org/pypi/django-quickview/
>> Source at https://bitbucket.org/weholt/django-quickview
>>
>> Documentation and tutorial at
&
h Python 3?
If not I'll try to port one of the ones I've found but why re-invent the wheel?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this g
ils from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You receiv
ath.abspath(__file__))
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJECT_PATH, 'database.db'),
'USER': '',
'PASSWORD': '',
'
I've later discovered that, in my case, one of my other packages, which
monkey patches my models, most likely is the cause of the problem.
Thomas
On Tue, Apr 9, 2013 at 12:41 PM, Serdar Dalgic wrote:
> On Thu, Apr 4, 2013 at 10:24 PM, Thomas Weholt
> wrote:
> > I haven'
Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
&qu
ngo-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails
n Fri, Apr 19, 2013 at 3:35 PM, Tim Cook wrote:
>
>
> On Fri, Apr 19, 2013 at 9:01 AM, Thomas Weholt wrote:
>
>> PyCharm! Allthough commercial - it's great and really worth the prize,
>> and now is on sale for half prize!
>>
>>
>>
> Hi Thomas,
>
wrong?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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
to django-users+unsubscr...@googlegroups.
p at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django user
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/d
this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received th
it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
https://groups.google.com/d/msgid/django-users/fcab2249-1b88-405a-9106-dd2b544d3d07%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to
) release candidate
of DSE ( http://pypi.python.org/pypi/dse/1.0.0-RC1 ) and if anybody
has time/interest to help me iron out any bugs or issues before I
label it as stable and release the official 1.0 release that would be
great.
Thanks for your attention.
--
Mvh/Best regards,
Thomas Weholt
http://www.
s
the best way to do this?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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 this group, s
up.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Mvh/
I'm trying to run a unittest, but it crashes with an exception, saying
"Cannot operate on a closed dabase". I'm not using the orm to insert
records, but raw SQL - and raw sql is the only option. When or what
closes the connection to the database?
--
Mvh/Best regards
ed-to-django.html
DSE at pypi:
http://pypi.python.org/pypi/dse/
Source at bitbucket.org:
https://bitbucket.org/weholt/dse2
Thanks for your attention.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django us
Brian Bouterse wrote:
> This would have been so useful on my last project. 14.4 Million records
> took a couple of days with a single thread using the ORM. This would have
> really sped things up.
> Brian
>
> On Tue, May 3, 2011 at 7:50 AM, Thomas Weholt
> wrote:
>>
ect. 14.4 Million records
> took a couple of days with a single thread using the ORM. This would have
> really sped things up.
> Brian
>
> On Tue, May 3, 2011 at 7:50 AM, Thomas Weholt
> wrote:
>>
>> Inserting, updating or deleting lots of records using the Djang
-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
&quo
_order = 1, 2 and 3. If I click
to add a new child item in that same form, it should be giving
sort_order = 4, then 5 etc. You get the picture?
Is this possible?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Group
ot getting it. Sorry.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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 thi
I've got a templatetag generating a form, but trying to add a
csrf-token failes. What's the correct way to add a csrf-token to a
form generated in plain html in a templatetag?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are sub
-Photofile/
Released as GPL. Alpha status. Testers and comments wanted.
Planned features: more metadata handling ( EXIF, IPTC, XMP ) and
optional use of pgmagick or similar for better thumbnail quality.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you
downloading.
Released as GPL. Source available at
https://bitbucket.org/weholt/django-photofile/src.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
On Wed, May 11, 2011 at 10:21 AM, Daniel Roseman wrote:
> On Wednesday, May 11, 2011 7:50:16 AM UTC+1, Brian wrote:
>>
>> Sure - it's just that bit more convenient and readable to use the ORM
>> approach. If I get the chance, I must try substituting direct calls to
>> psycopg and see if that makes
How can I use django-taggit in the admin related to my model?
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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
tags.all()
[, , ]
>>> AdvancedPhoto.objects.all()[1].tags.all()
[, , ]
This works fine. Saving/adding a photo in the admin and then checking
it in the shell afterwards:
>>> from photoapp.models import *
>>> AdvancedPhoto.objects.all()[0].tags.all()
[]
Hmmm ... what's going on
string and I could not set any choice-property.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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
On Thu, May 12, 2011 at 10:09 AM, Jani Tiainen wrote:
> On Thu, 2011-05-12 at 09:59 +0200, Thomas Weholt wrote:
>> I got a model looking something like this
>>
>> class SomeModel(models.Model):
>> somefield = models.CharField(max_length=100, choices=somemethod()
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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 this group, send email to
django-user
On Fri, May 13, 2011 at 4:15 PM, Tom Evans wrote:
> On Fri, May 13, 2011 at 3:05 PM, Boštjan Mejak
> wrote:
>> For example, the CCleaner GUI application provides only the setup (so the
>> binaries) of the application. They don't give the source code of it. If I
>> wanted the same thing with my a
l so I can benefit from bug fixes, added features etc. So
I still believe GPL is the right license for me to use.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
On Fri, May 13, 2011 at 6:55 PM, Jacob Kaplan-Moss wrote:
> On Fri, May 13, 2011 at 11:30 AM, Thomas Weholt
> wrote:
>> Hmmm ... maybe, but because of the reusable app focus in django I
>> think some sort of guideline regarding choice of license could be
>> important.
under the BSD license ( and that's the only change
compared to beta9 ).
http://pypi.python.org/pypi/dse/2.0.0-RC1
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
e change_list filtered to only show
details related to a specific master-record and reuse as much of the
admin-code/featurebase as possible.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users&q
I just got my hands on an iPad and was wondering if anybody has done
any django development where the iPad was the target
platform/browser/client?
Thanks in advance and expect some django-app aimed at ipad in the near
future ;-).
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You
How do I get the user related to the current request in templatetag?
Using RequestContext?
@register.tag(name='sometag')
def sometag(parser, token):
try:
tagname, model_inst = token.split_contents()
except ValueError:
raise template.TemplateSyntaxError, "%r tag requires exa
Say I got a model like so:
class Article(models.Model):
title = models.CharField(max_length=100)
text = models.TextField()
category = models.CharField(max_length=20)
author = models.CharField(max_length=50)
Article.objects.create(title="Foo", text="Story about foo",
category="adve
fields into one new form.
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
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 this group, sen
pypi-entry don't get formatted
like restructured text that would be swell. Thanks!
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
On Tue, Jun 21, 2011 at 11:16 PM, Calvin Spealman wrote:
> Interesting project. My first question was going to be "Why aren't you
> just using Celery?" until I got to the part of the description that
> says it is built on *top* of celery.
Yes, it might be a good idea to put that in the beginning
On Wed, Jun 22, 2011 at 2:01 PM, Ethan Jucovy wrote:
> On Tue, Jun 21, 2011 at 5:09 PM, Thomas Weholt
> wrote:
>>
>> Proof of concept. Need comments. Released under a modified BSD-license.
>>
>> http://pypi.python.org/pypi/Kolibri/0.1.0a
>>
>> or better
from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscrib
1180) (range: 72500921
> ~ 72550921), (avg 16.9 mins/million) - [('is_checked', 49659),
> ('is_image_blocked', 0), ('has_link', 1517), ('is_spam', 4)]
> Could you let me know if those benchmarks are better/worse than using DSE?
> I'd be inte
On Wed, Jun 22, 2011 at 3:52 PM, Cal Leeming [Simplicity Media Ltd]
wrote:
> Sorry, let me explain a little better.
> (51.98s) Found 49659 objs (match: 16563) (db writes: 51180) (range:
> 72500921 ~ 72550921), (avg 16.9 mins/million) - [('is_checked',
> 49659), ('is_image_blocked', 0), ('has_link'
increase is huge using the method described here,
even compared to my current solution ( using cursor.executemany ),
which is considerably faster than the django orm allready. My testing
so far have been using postgresql, not sure how mysql will perform. I
expect to release DSE v.2.2.0 with th
ts using::
# pk = the primary key field for the model, in most cases id
for field, values in bulk_updates.iteritems():
for value, ids in values.iteritems():
model.objects.filter(**{"%s__in" % pk:
ids}).update(**{field: value})
For huge datasets wher
On Fri, Jun 24, 2011 at 3:54 AM, Russell Keith-Magee
wrote:
> On Fri, Jun 24, 2011 at 9:44 AM, Cal Leeming [Simplicity Media Ltd]
> wrote:
>>
>>
>> On Fri, Jun 24, 2011 at 2:34 AM, Russell Keith-Magee
>> wrote:
>>>
>>> On Fri, Jun 24, 2011 at 9:28 AM, Cal Leeming [Simplicity Media Ltd]
>>> wrot
1 - 100 of 142 matches
Mail list logo