serving files on shared server cause extra proccesses

2012-02-16 Thread Itai
Hi all! I have a big problem, and after reading tons of web pages I'm still stuck. IN SHORT: I'm on a shared server hosting with fastCGI (=no apache access) with no mod_xsendfile. I need to serve mp3 files of 2-3 minutes length after authentication. That view generates extra proccesses that neve

Re: Query help

2010-11-02 Thread Itai Tavor
On 03/11/2010, at 2:10 AM, Prashanth wrote: > > > On Tue, Nov 2, 2010 at 9:35 AM, Itai Tavor wrote: > Hi people, > > Given this: > > class Category(models.Model): >name = models.CharField() >parent = models.ForeignKey('self', blank=True, null

Query help

2010-11-02 Thread Itai Tavor
way to do this: for category in Category.objects.all(): category.num_items = Item.objects.filter(categories__tree_path__startswith=category.tree_path).count() if category.num_items > 0: yield category Suggestions? TIA, Itai -- You received this message because you are

Re: haml + sass + django

2009-09-10 Thread Itai Tavor
and it will automatically compile it and serve it as css. And all you have to do is make sure the ruby executables are available. Itai > > Though I also came across http://bit.ly/3el7iR, by which apache can > take > care of converting haml to html. > > Was looking f

Re: Quick newbie question

2009-05-26 Thread Itai
Ok sorry about that weird question - I figured it out now. Thanks Kenneth! On May 27, 6:54 am, Kenneth Gonsalves wrote: > On Wednesday 27 May 2009 04:22:12 Itai wrote: > > > As I was working my way through the tutorial (part 3), I ran into a > > little problem. > >

Quick newbie question

2009-05-26 Thread Itai
What am I doing wrong? Thanks, Itai --~--~-~--~~~---~--~~ 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, se

Re: How to simulate recursive inlines in admin?

2008-09-23 Thread Itai Tavor
der to maintain) but will result in a complicated and unfriendly UI. I don't know if you might be more interested in the full app or just the admin code, so let me know if you'd like to see any of it. And, like I said above, code at Google and a demo site are probably a couple of weeks

Re: ANN: django-morsels

2008-08-26 Thread Itai Tavor
would be to merge flatpages and morsels into a single app, which would make sense because both deal with static, admin-editable content. FlatThings? Itai On 27/08/2008, at 12:00 AM, lingrlongr wrote: > > It makes me wonder now though. If I can just include a bunch of > morsels on a

Re: ANN: django-morsels

2008-08-24 Thread Itai Tavor
Hi Richard, Can you provide more information? What URL did you enter in the morsel, and at what URL are you viewing the template that tries to include the morsel? Also, does your SITE_ID setting match the site you selected in the morsel? Itai On 24/08/2008, at 9:11 PM, Richard Ward

Re: ANN: django-morsels

2008-08-22 Thread Itai Tavor
Apologies to everyone who got bit by this. I updated the INSTALL instructions with the requirement of adding 'request' to the context. Itai On 23/08/2008, at 6:26 AM, lingrlongr wrote: > > Recommended fix @ http://code.google.com/p/django-morsels/issues/detail?id=1 > &

ANN: django-morsels

2008-08-21 Thread Itai Tavor
d make the user think twice about it. * If the typogrify app (http://code.google.com/p/typogrify/) is installed, morsel content will be typogrified when rendered using the morsel templatetag. You can find django-morsels at <http://code.

ANN: django-farstyle (updated)

2008-08-21 Thread Itai Tavor
supported, using Many-to-Many relationships so that multiple sites can share common assets. Check it out, make up your mind about whether it's useful for you. Comments welcome. Itai --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Editing content in Django Admin change-list

2008-07-04 Thread Itai Tavor
est.user.message_set.create(message=msg) return HttpResponseRedirect(request.META.get('HTTP_REFERER', '/')) In urls.py, add this line before '^admin/': url('^admin/(?P.*)/switch/$', '

Re: Generic ManyToMany - any code?

2008-05-25 Thread Itai Tavor
ectsDescriptors give me a headache, and I don't really understand how M2M works anyway (where is the code that creates the m2m table?) so I can't tackle it myself. Itai On 25/05/2008, at 2:31 AM, Richard Dahl wrote: > > Not sure if there is a better way (suggestio

Generic ManyToMany - any code?

2008-05-24 Thread Itai Tavor
Hi, There was some talk about creating generic M2M fields around the end of '07, but I can't find any useful code. Has anyone got this working? Thanks, Itai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: App for rendering and far future caching of css and js files

2007-12-22 Thread Itai Tavor
On 11/11/2007, at 8:27 PM, Itai Tavor wrote: > Hi all, > > I made one of them apps, like the subject says... > > From the README (which is as well as I can explain it, if I could > say it better I'd edit the README, right?): > > The app provides two main functions

Re: sending >500 emails using send_email in a for loop

2007-12-19 Thread Itai Tavor
g to "sent" after the send), the delivery count could easily be displayed next to it. Let me know if you want a look at the mailing code before the whole app is available. Itai --~--~-~--~~~---~--~~ You received this message because you are subscri

App for rendering and far future caching of css and js files

2007-11-11 Thread Itai Tavor
Hi all, I made one of them apps, like the subject says... From the README (which is as well as I can explain it, if I could say it better I'd edit the README, right?): The app provides two main functions: 1. Render and serve css files based on django templates. To aid in generating cs

Re: DbMigration 0.04 released

2007-07-29 Thread Itai Tavor
Any management.py.patch version around that applies cleanly to django svn (5776)? > patching file core/management.py > Hunk #1 FAILED at 481. > Hunk #2 succeeded at 541 (offset 20 lines). TIA, Itai --~--~-~--~~~---~--~~ You received this message becaus