Re: Media files django 1.5

2013-12-29 Thread Mike Dewhirst
On 30/12/2013 3:18am, Carlos Andre wrote: hello guys, i have a problem in django 1.5! I did a migration from version 1.3 to this and when I migrated projects that have worked in version 1.3 there was no recognition of the media in version 1.5! I made the steps of the tutorial, but the problem sti

Re: Server Sent Event to a specific user

2013-12-29 Thread Mike Dewhirst
On 30/12/2013 12:59pm, Thai Tran wrote: Yes, that was what I thought. But letting the user subscribe to a channel without any validation / authorization is a bit scary. That is why I wanna push the message based on the user session, not through a user name or strings like that If timing require

Re: Server Sent Event to a specific user

2013-12-29 Thread Thai Tran
Yes, that was what I thought. But letting the user subscribe to a channel without any validation / authorization is a bit scary. That is why I wanna push the message based on the user session, not through a user name or strings like that On 12/30/2013 2:03 AM, Nevio Vesic wrote: Well You can

Re: dumpdata --format=yaml, dates, and USE_TZ

2013-12-29 Thread Aymeric Augustin
It's a bug in PyYAML: https://code.djangoproject.com/ticket/18867 -- Aymeric. -- 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...@googlegr

Re: Server Sent Event to a specific user

2013-12-29 Thread Nevio Vesic
Well You can always send custom events for some specific channel. Example: socket.on("global_event", function(channel, data) {}); socket.on("user_XYZ", function(channel, data) {}); emit_to_channel('some_room', 'gobal_event', 'hello') emit_to_channel('some_room', 'user_XYZ', 'hello XYZ') I unders

Server Sent Event to a specific user

2013-12-29 Thread Thai Tran
Hi, I am working on a message sending/reading app atm. Is there any way to push a message to a particular user session by using Redis and SSE ? I am using the tutorial at https://github.com/fcurella/django-push-demo and it works great with the current setup (which means I can send the whole bunks

Media files django 1.5

2013-12-29 Thread Carlos Andre
hello guys, i have a problem in django 1.5! I did a migration from version 1.3 to this and when I migrated projects that have worked in version 1.3 there was no recognition of the media in version 1.5! I made the steps of the tutorial, but the problem still insists! have something new to be configu

Dropdown.html - center links around brand in navbar

2013-12-29 Thread alekto . antarctica
Hi, I am trying to create a navbar in dropdown.html that is centered around a middle brand/logo using bootstrap. Eks. http://jsfiddle.net/5WxHY/ I have tried using the page_menu template tags, but since I cannot find a way to say, I.e. render 3 links then create a space for the brand/logo. the

Re: How to migrate a project from one DB to another

2013-12-29 Thread Timothy W. Cook
I recommend using South http://south.aeracode.org/ and just follow the tutorial as if it is a new project. Do you need to migrate data as well as the schema? That may require more manual intervention. HTH, Tim On Sun, Dec 29, 2013 at 3:10 AM, Don Fox wrote: > I've started a small project an