Re: postgresql range types v2

2013-01-16 Thread Simon Litchfield
Also, did you see psycopg2.extras.DateTimeRange? On Monday, December 31, 2012 8:56:12 PM UTC+11, mpaolini wrote: > > Hi all, > > sorry for the noise, forget my previous mail as it was pointing to the > wrong commit, > here's the good one: > > > https://github.com/mpaolini/django/commit/b754abd

Re: postgresql range types v2

2013-01-16 Thread Simon Litchfield
Marco, this is great. I wonder if it would be possible to add range fields without modifying django? On Monday, December 31, 2012 8:56:12 PM UTC+11, mpaolini wrote: > > Hi all, > > sorry for the noise, forget my previous mail as it was pointing to the > wrong commit, > here's the good one:

Re: make the source code of the django tutorial available ?

2013-01-16 Thread Russell Keith-Magee
On Thu, Jan 17, 2013 at 1:17 PM, Daniel Greenfeld wrote: > > > On Wednesday, January 16, 2013 4:43:14 PM UTC-8, Russell Keith-Magee wrote: > >> Hi Daniele, >> >> On Thu, Jan 17, 2013 at 7:07 AM, Daniele Procida >> wrote: >> >>> >>> 2) This is what version control is for. I'd much rather see som

Re: make the source code of the django tutorial available ?

2013-01-16 Thread Daniel Greenfeld
On Wednesday, January 16, 2013 4:43:14 PM UTC-8, Russell Keith-Magee wrote: > > Hi Daniele, > > On Thu, Jan 17, 2013 at 7:07 AM, Daniele Procida > > > wrote: > >> I'm re-opening an old discussion - >> https://groups.google.com/d/topic/django-developers/MbLD1BL5xkQ/discussion. >> Sorry if it a

Re: make the source code of the django tutorial available ?

2013-01-16 Thread Russell Keith-Magee
Hi Daniele, On Thu, Jan 17, 2013 at 7:07 AM, Daniele Procida wrote: > I'm re-opening an old discussion - > https://groups.google.com/d/topic/django-developers/MbLD1BL5xkQ/discussion. > Sorry if it all comes out weird, I'm having to do it in Google Groups. > > I propose maintaining a repository of

Re: make the source code of the django tutorial available ?

2013-01-16 Thread Daniele Procida
I'm re-opening an old discussion - https://groups.google.com/d/topic/django-developers/MbLD1BL5xkQ/discussion. Sorry if it all comes out weird, I'm having to do it in Google Groups. I propose maintaining a repository of the Polls tutorial code, with each branch representing the state of the cod

Re: BUG:can't createsuperuser??

2013-01-16 Thread Florian Apolloner
Hi Mugisha Moses, On Wednesday, January 16, 2013 3:09:46 PM UTC+1, Mugisha Moses wrote: > > http://www.joelonsoftware.com/articles/Unicode.html > While you surely wanted to be helpful, a link like this isn't really helping to solve the problem. Given the fact that the user is on windows and we

Re: BUG:can't createsuperuser??

2013-01-16 Thread Florian Apolloner
Hi zhfisher, On Wednesday, January 16, 2013 10:51:17 AM UTC+1, zhfisher wrote: > > Django version=1.5 rc1 > Database:mySQL > > E:\Work\Code\Django\SaleTools>manage.py createsuperuser > D:\Python27\lib\site-packages\django\utils\hashcompat.py:9: > DeprecationWarning: > django.utils.hashcompat is d

Re: BUG:can't createsuperuser??

2013-01-16 Thread mugisha moses
http://www.joelonsoftware.com/articles/Unicode.html On Wed, Jan 16, 2013 at 12:51 PM, zhfisher wrote: > Django version=1.5 rc1 > Database:mySQL > > > E:\Work\Code\Django\SaleTools>manage.py createsuperuser > D:\Python27\lib\site-packages\django\utils\hashcompat.py:9: > DeprecationWarning: > djan

Re: view permission for contrib.admin

2013-01-16 Thread Marc Aymerich
I also had to implement view permissions on admin, and in my opinion, the worst thing of implementing full support for view permissions is that you have to **copy&paste all the change_view and changelist_view** just for changing one conditional: if not self.has_change_permission(request, obj):

BUG:can't createsuperuser??

2013-01-16 Thread zhfisher
Django version=1.5 rc1 Database:mySQL E:\Work\Code\Django\SaleTools>manage.py createsuperuser D:\Python27\lib\site-packages\django\utils\hashcompat.py:9: DeprecationWarning: django.utils.hashcompat is deprecated; use hashlib instead DeprecationWarning) UnicodeEncodeError: 'ascii' codec can't