Re: Showing which users are viewing a given page

2014-03-04 Thread Dig
list who are on the same page and last_ping within 60 seconds. 30 or 60 seconds are sample data. Regards, Dig 2014-3-4 下午8:30于 "Some Developer" <someukdevelo...@gmail.com>写道: > Hopefully someone here will be able to point me in the right direction. > > Basically I want to be

Re: Question about django-boto and S3

2013-12-24 Thread Dig
tml> to get more detail.* *Regards,* *Dig* Regards, Dig Ge On Tue, Dec 24, 2013 at 11:42 PM, Chen Xu <xuche...@gmail.com> wrote: > I have a private folder under a bucket, which stores all the images, and > when I try to access to the image on the web for example: > >

Re: Which Real Time Communications Protocol

2013-12-21 Thread Dig
Hi Bill, Is there any django project support websocket? Thanks. Regards, Dig On Dec 21, 2013 1:50 AM, "Bill Freeman" <ke1g...@gmail.com> wrote: > WebSockets runs over standard HTTP or HTTPS connections, getting past > firewalls and other restrictions (e.g.; the hotel

Re: Which Real Time Communications Protocol

2013-12-21 Thread Dig
Hi Serge, May I know the capacity of your system with telnet/xmlrpc? I'm intresting in this topic, and the next project could have a push scenario. Thanks. Regards, Dig On Dec 21, 2013 1:01 AM, "Sergiy Khohlov" <skhoh...@gmail.com> wrote: > telnet and xmlrpc is a good c

Re: How to share model/data cross django project

2013-09-24 Thread Dig
Hi Frank, Thank you for your reply. I can implement this feature in app layer, but I won't do it to waste CPU. It can be done in IP firewall, so I prefer laverge it. Regards, Dig On Sep 25, 2013 12:21 AM, "Frank Bieniek" <frank.bien...@produktlaunch.de> wrote: > Hi Dig,

Re: How to share model/data cross django project

2013-09-24 Thread Dig
Hi, And how about models.py? Makes a copy? Thanks. Regards, Dig Regards, Dig Ge On Tue, Sep 24, 2013 at 11:51 PM, Rafael E. Ferrero < rafael.ferr...@gmail.com> wrote: > seems to me that you can setup the same database in the two settings.py of > your two projects. > > &

Re: How to share model/data cross django project

2013-09-24 Thread Dig
Security Group (IPfirewall) to takes the restrict, So I have to do build 2 different app for external user and internal user. I know that I can implement this feature in app layer, but it will waste more CPU. Regards, Dig Regards, Dig Ge On Tue, Sep 24, 2013 at 10:21 PM, François Schiettecatte

Re: How to share model/data cross django project

2013-09-24 Thread Dig
Hi, Please let me repeat my question shortly, I want to access the same database from 2 different django project/app. Can anyone help me? Thanks. Regards, Dig On Sep 20, 2013 9:13 PM, "Dig" <dig.ge...@gmail.com> wrote: > Hi, > > There are about 20 views in a djan

How to share model/data cross django project

2013-09-20 Thread Dig
this feature by writing 2 setting.py files? Environment: Django 1.5.4 Nginx + uwsgi MySQL Thanks, Dig -- 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 dj

Re: Using environment variables in settings.py - good practice? How to handle missing variables gracefully?

2013-09-18 Thread Dig
Hi, Do you means some thing like this? os.environ.get('SOME_VARIABLE', 'default_value') Regards, Dig On Sep 19, 2013 1:37 PM, "Victor Hooi" <victorh...@gmail.com> wrote: > Hi, > > I have several settings in my Django settings.py file that are specific > > Cur

Re: [django-announce] [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Dig
Hi Russell, Got it, and thanks. We will update to 1.5.4 in this week. Regards, Dig On Sep 15, 2013 8:51 PM, "Russell Keith-Magee" <russ...@keith-magee.com> wrote: > Hi Dig > > I'm not sure I understand your question. Both releases are security > releases; both

Re: [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Dig
And how about 1.5.3 which is announced a few days ago? On Sep 15, 2013 5:14 PM, "Rahul Gaur" wrote: > Hi , > I am using django==1.4.8 for my project , these new fixes are available > with pip yet or we need to install the latest build manually ? > > Regards, > Rahul > > >

Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2013-09-08 Thread Dig
I don't think it's a django question. For security reasons, HTTP browser will block access resources in a different site(domain) by AJAX request. You should add Access-Control-Allow-Origin and Access-Control-Allow-Methods headers (response for OPTION request) to declar your willings. On Sep 8,

Re: Prefork vs threaded when I want to spawn my own threads

2013-09-03 Thread Dig
I have a similar need. And I implement this feature with uwsgi. My django application is host in uwsgi, which is support timer(interval). So I insert my task parameters into database and execute tasks in timer handler. Regards, Dig On Sep 3, 2013 9:26 PM, "Russell Keith-Magee" <

How to sync database and/or discard/disable cache?

2013-08-21 Thread Dig
me how to disable Django cache? Thank you. Regards, Dig -- 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