Re: cant start a new project ,just installed django

2016-10-04 Thread Ori Ohayon
I tried from many locations -- 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 post to this group, send email to djang

Deferred fields

2011-06-30 Thread Ori
columns. My problem is that to_python methods & co. are not (to my knowledge) given access to the model instance being loaded/saved -- just the column value.) Any thoughts? Thanks! Ori -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Model filter on date ranges

2011-05-24 Thread Ori Livneh
Check out the python-dateutil module (not in the standard lib, but available via pip and easy_install). It makes calculating time deltas easy. Anyways, try something like this: #!/usr/bin/env python from datetime import datetime from dateutil.relativedelta impor

Re: Experiences with virtualenv + Django?

2011-05-23 Thread Ori Livneh
virtualenv is good at what it does, but it's not a comprehensive deployment tool. It does one thing, and I think it does it well. A really good resource is JKM's companion repository to his Django deployment workshop, replete with slides. His

Re: automatically create user profile on user creation

2011-03-18 Thread Ori Livneh
line solution to the same problem. > > http://www.turnkeylinux.org/blog/django-profile > > On Mar 16, 11:54 am, Ori Livneh wrote: > > Hi guys, > > > > The Django docs explain that "the method get_profile() does not create > the > > profile, if it does not exist. You need to

automatically create user profile on user creation

2011-03-16 Thread Ori Livneh
thing in this snippet that should be fixed or improved? If it's OK, do you think it makes sense to include it in the docs? I ask because getting user profiles to work is liable to be something new Django developers want to do, but signals are something of an intermediate/advanced topic. Thanks,

Re: How to check if string is in Hebrew

2011-02-27 Thread Ori Livneh
On Sun, Feb 27, 2011 at 6:01 PM, ydjango wrote: > Hebrew is within the unicode range 0x590 to 0x5ff. > > I tried > if lang_string[0] >= u'0x590' and lang_string[0] <= u'0x5ff': > > but it does not seem to work. > > How do I check if lang_string is in Hebrew or not. Using Python 2.5, > Django 1.2

Re: Cool and useful development commands :-)

2011-02-23 Thread Ori Livneh
Can't wait to try it! Some nifty things here. On Tue, Feb 22, 2011 at 11:46 AM, Simone Federici wrote: > http://www.os4d.org/djangodevtools > Your feedback is very welcome > > Simone > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To po

Re: Looking for IDE + FTP

2011-02-13 Thread Ori Livneh
?title=Plugin_Central <http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central> Best, Ori On Sun, Feb 13, 2011 at 5:02 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Aptana looks nice, PYCharm looks a bit ugly :/ >