Re: Feeling some serious timezone pain

2014-08-20 Thread Chris Whiten
I can understand that sentiment... But that doesn't change the fact that 12:00 PM on the Python side renders as 11 AM in the template, right? On Wednesday, 20 August 2014 09:09:24 UTC-4, Erik Cederstrand wrote: > > > Den 20/08/2014 kl. 14.22 skrev christophw >: > > > When the booking is stored,

[ANNOUNCE] Django security releases issued

2014-08-20 Thread James Bennett
Today we've issued releases to address four security issues reported to us. Full disclosure is on the djangoproject.com weblog: https://www.djangoproject.com/weblog/2014/aug/20/security/ All users are encouraged to upgrade. Additionally, for anyone who missed it, last week we published an adviso

[OT] PyCharm 3 from a Vim User’s Perspective

2014-08-20 Thread Ezequiel Bertti
http://andrewbrookins.com/tech/one-year-later-an-epic-review-of-pycharm-2-7-from-a-vim-users-perspective/ -- Ezequiel Bertti E-Mail: eber...@gmail.com Cel: (21) 99188-4860 VÁ PARA BÚZIOS!!! http://www.agh.com.br/ Ane Guest House -- You received this message because you are subscribed to the Go

Re: wysiwyg image manager suggestions

2014-08-20 Thread yakkadesign
I tried django-ckeditor-updated . The file browser never loaded and images were given the full path. Also it would automatically upload to a path with the date; I wanted to user to tell where to upload. -- You received this message beca

Re: How to delete a referenced object when the object, referencing the other object, is deleted?

2014-08-20 Thread Tom Evans
On Wed, Aug 20, 2014 at 4:34 PM, Oliver Funk wrote: > I posted the following question on SO (link) and I haven't received any > helpful answers. Can someone here please help me? Sorry, same answers here - move the OneToOne to the other model or use pre_delete signals to check how many related obj

Re: wysiwyg image manager suggestions

2014-08-20 Thread carlos
Maybe you try django-ckeditor-updated https://pypi.python.org/pypi/django-ckeditor-updated On Wed, Aug 20, 2014 at 9:13 AM, wrote: > Any suggestions on a wysiwyg editor for Django that will allow: > >- browser images and insert image in wysiwyg >- upload image to server to user specif

How to delete a referenced object when the object, referencing the other object, is deleted?

2014-08-20 Thread Oliver Funk
I posted the following question on SO (link ) and I haven't received any helpful answers. Can someone here please help me? I am relatively new to Django and I'm just starting to get a feel for it, but

Re: Comments in real time

2014-08-20 Thread Hannu Krosing
On 08/20/2014 05:11 PM, Aaron Reabow wrote: > Hi all, > > I use a proprietary application that let people on multiple browsers > comment. > > In real time their comments are displayed for everyone to see. > > What is quite nice, is that you can then order and group these comments. > > I have looked

wysiwyg image manager suggestions

2014-08-20 Thread yakkadesign
Any suggestions on a wysiwyg editor for Django that will allow: - browser images and insert image in wysiwyg - upload image to server to user specified dir - delete image from server - create new folder on server - delete folder on server - open source with flexible license(i

Comments in real time

2014-08-20 Thread Aaron Reabow
Hi all, I use a proprietary application that let people on multiple browsers comment. In real time their comments are displayed for everyone to see. What is quite nice, is that you can then order and group these comments. I have looked through the Django apps, but am unsure if any of them will

Re: Feeling some serious timezone pain

2014-08-20 Thread Erik Cederstrand
Den 20/08/2014 kl. 14.22 skrev christophw : > When the booking is stored, it comes back from a post and I store it in the > DB as such: > > dt = datetime.datetime.strptime(request.POST["date"] + " " + > request.POST["time"], "%Y-%m-%d %H:%M") > dt = pytz.timezone("America/Toronto").localize(dt

Re: Feeling some serious timezone pain

2014-08-20 Thread Chris Whiten
That's exactly right, but what's rendered in the browser is 11 AM rather than 12:00 On Wednesday, 20 August 2014 08:36:58 UTC-4, Geoffrey Knauth wrote: > > 2014-08-30 16:00:00+00:00 GMT > 2014-08-30 12:00:00-04:00 Toronto (Summer) > > This looks correct to me. Maybe you were expecting the timezo

Re: Feeling some serious timezone pain

2014-08-20 Thread Robin
Guys The UK is currently on British Summer Time (BST) so 2014-08-30 16:00:00 BST 2014-08-30 11:00:00 Toronto (Summer) Greenwich Mean Time (GMT) as a term is not used as frequently as previously. The preferred term is Universal Coordinated Time (UTC), as some overseas users confusingly equate G

Re: Feeling some serious timezone pain

2014-08-20 Thread Geoffrey S. Knauth
2014-08-30 16:00:00+00:00 GMT 2014-08-30 12:00:00-04:00 Toronto (Summer) This looks correct to me. Maybe you were expecting the timezone to be -05:00? That would be standard time (winter). Daylight savings time is -04:00. -- Geoffrey S. Knauth | [1]http://knauth.org/gsk On Wed, Aug 20, 2014,

Feeling some serious timezone pain

2014-08-20 Thread christophw
Hi there, I'm feeling some pain while wrangling with timezones in an office room booking application. I'm storing bookings in a MySQL database and want to display them in the timezone local to the office room, so it is not necessarily local to the user's local machine timezone. Here is my m