Re: Need some advise on how to use a RESTful API

2013-12-20 Thread Nick Apostolakis
Hello there, In my point of view, when you develop an app using a rest full api you go through the same moves as when writing the web app using the native interface. In my case I have created both. I wrote first the web interface and then the api, but a different approach would be to write first

Re: Django Custom User Admin Login

2013-12-20 Thread Russell Keith-Magee
On Fri, Dec 20, 2013 at 12:08 PM, wrote: > I'm creating a custom user by extending the AbstractBaseUser class. I have > read the Django documentation and several tutorials online and I think that > what I've done till now is very basic and should work. > > The problem

Re: Need some advise on how to use a RESTful API

2013-12-20 Thread Anders Petersson
I usually write the web application first, without consuming my own API, and when I need to build versions for other formats, such as mobile native apps, I create an API and consume this from the App. There are several framework to make creating an API for you application easier, popular

Re: Advanced Tutorial (how to write reusable app), last step does not work

2013-12-20 Thread Raj
Faced the same problem with the Django 1.6 tutorial... circumvented it by renaming "index.html" to "poll_list.html". Read on if you want to know more about this issue... It seems there is a problem with the template loader, or the specification of which template to load for the

Re: Need some advise on how to use a RESTful API

2013-12-20 Thread Doug Blank
On Fri, Dec 20, 2013 at 11:45 AM, Mario Osorio wrote: > I need to work on a django app that will eventually benefit from a RESTful > API so it can be used from any web browser as well a from apps writtens for > iOS and Android. > > Being so new to django development I don't

Re: Which Real Time Communications Protocol

2013-12-20 Thread Bill Freeman
WebSockets runs over standard HTTP or HTTPS connections, getting past firewalls and other restrictions (e.g.; the hotel WiFi will let you web browse, but not use other ports). Since WebSockets is standard HTML5, libraries for it will become more and more common. There are also older "push"

Re: Where exactly in the django source code, the default permissions are created?

2013-12-20 Thread Fabio Caritas Barrionuevo da Luz
Thanks Felipe, this is exactly what I was looking for. My goal is to create a new default permission for all my models without having to declare it explicitly at all. It would be something like: permissions = ( ('view_model_class_name', _ ('View model_class_name')), ) I wonder why

Re: Which Real Time Communications Protocol

2013-12-20 Thread Mario R. Osorio
Thanks a lot Serge! Dtb/Gby === Mario R. Osorio "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford http://www.google.com/profiles/nimbiotics On Fri, Dec 20, 2013 at 12:01 PM, Sergiy Khohlov wrote: > telnet and xmlrpc is a

Re: Django Weekend Cardiff

2013-12-20 Thread Tom Lockhart
On 2013-12-20, at 1:07 AM, "Daniele Procida" wrote: > As you may already be aware, tickets for Django Weekend Cardiff > sold out in three weeks. > Congratulations Daniele! Tom Lockhart tlockhart1...@gmail.com -- You received this message

Re: Where exactly in the django source code, the default permissions are created?

2013-12-20 Thread Felipe Coelho
2013/12/19 Fabio C. Barrionuevo da Luz > Hello guys, I'm trying to understand the inner workings of the permissions > django system. > > My question is where exactly in the django source code, the default > permissions are created? > Default permissions are created by

Re: Which Real Time Communications Protocol

2013-12-20 Thread Sergiy Khohlov
telnet and xmlrpc is a good choice. I'm working on the similar project Many thanks, Serge +380 636150445 skype: skhohlov On Fri, Dec 20, 2013 at 6:58 PM, Mario Osorio wrote: > My app will have to communicate different customers (Linux devices, Windoze > devices, iOS

Which Real Time Communications Protocol

2013-12-20 Thread Mario Osorio
My app will have to communicate different customers (Linux devices, Windoze devices, iOS devices and Android devices at least). Overall, any of these customer devices will start one of many processes and some of the other devices are required to respond by letting their users know about the

Need some advise on how to use a RESTful API

2013-12-20 Thread Mario Osorio
I need to work on a django app that will eventually benefit from a RESTful API so it can be used from any web browser as well a from apps writtens for iOS and Android. Being so new to django development I don't even have any ideas on how to use a RESTful API, for example, 1. Should I

Re: Where exactly in the django source code, the default permissions are created?

2013-12-20 Thread Fabio Caritas Barrionuevo da Luz
Have had looked Those classes, However, Still Could Not see Which line or lines in the source code the default permissions are created. Is there anybody from the Core Developers that could explain where exactly they are created? Sorry for English, I speak Portuguese, it was translated by

Re: fire and "forget" in a view

2013-12-20 Thread Christian Schulz
Am Freitag, 20. Dezember 2013 14:57:16 UTC+1 schrieb Tom Evans: > > On Fri, Dec 20, 2013 at 11:11 AM, Christian Schulz > wrote: > > Hi, > > > > in my views i have method calls which might be take some time. It is > > sufficient to return a simple message and request

Re: Tastypie-mongoengine it is possible to filter

2013-12-20 Thread Dominik Cygalski
Hi, I have exactly the same problem and I cannot find any solution. Have you solved it? On Thursday, 30 May 2013 12:21:39 UTC+2, Hélio Miranda wrote: > > I still can not solve my problem. > I'm a little lost not knowing what to do ... I do not know what's wrong? > > Nobody can help me? > --

Re: track on click

2013-12-20 Thread Tom Evans
On Fri, Dec 20, 2013 at 9:44 AM, praveen pal wrote: > Dear All > > how can we keep track on click in Django? > suppose i have a MOOC (massive open online course ) site in which user > register for a course and > watch videos , attempt quiz and give answer of question

Re: fire and "forget" in a view

2013-12-20 Thread Tom Evans
On Fri, Dec 20, 2013 at 11:11 AM, Christian Schulz wrote: > Hi, > > in my views i have method calls which might be take some time. It is > sufficient to return a simple message and request > the result in another step. > > I explore celery , but It might be to complex ,

Re: HTML format-able inputbox

2013-12-20 Thread Mrinmoy Das
Yeah you want it? Its on my github , there are actually a lot of junk in the code base, you know some half done broken stuff. Let me know which specific part you want. Mrinmoy Das http://goromlagche.in/ On Fri, Dec 20, 2013 at 4:55 PM, Mario Hari

Re: fire and "forget" in a view

2013-12-20 Thread Erik Cederstrand
Den 20/12/2013 kl. 12.11 skrev Christian Schulz : > in my views i have method calls which might be take some time. It is > sufficient to return a simple message and request > the result in another step. > > I explore celery , but It might be to complex , because I have

Re: Group Admin

2013-12-20 Thread Karen Tracey
On Thu, Dec 19, 2013 at 11:53 PM, wrote: New here. Just wanted to know if there are any group admins present who > review a post? Because I posted a question sometime back and it still > hasn't showed up on the news feed. > Yes, first posts are moderated to prevent

Django Custom User Admin Login

2013-12-20 Thread vinayak11118
I'm creating a custom user by extending the AbstractBaseUser class. I have read the Django documentation and several tutorials online and I think that what I've done till now is very basic and should work. The problem I'm facing is that even if I create a new DB from scratch and do a syncdb,

track on click

2013-12-20 Thread praveen pal
Dear All how can we keep track on click in Django? suppose i have a MOOC (massive open online course ) site in which user register for a course and watch videos , attempt quiz and give answer of question i want to track these detail how many time user watch particular video? di user

Group Admin

2013-12-20 Thread vinayak11118
New here. Just wanted to know if there are any group admins present who review a post? Because I posted a question sometime back and it still hasn't showed up on the news feed. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: HTML format-able inputbox

2013-12-20 Thread Mario Hari
Mrinmoy Das, your site is cool man! do you have the site code hosted anywhere. Mario On Friday, December 20, 2013 10:30:02 AM UTC+5:30, Mrinmoy Das wrote: > > Thanks man :) > > Mrinmoy Das > http://goromlagche.in/ > > > On Fri, Dec 20, 2013 at 4:01 AM,

fire and "forget" in a view

2013-12-20 Thread Christian Schulz
Hi, in my views i have method calls which might be take some time. It is sufficient to return a simple message and request the result in another step. I explore celery , but It might be to complex , because I have to use class based task an have some difficulties with the serializer's in

Django Weekend Cardiff

2013-12-20 Thread Daniele Procida
As you may already be aware, tickets for Django Weekend Cardiff sold out in three weeks. If you were hoping to attend, please add your name to the waitlist as soon as possible:

Re: django-facebook

2013-12-20 Thread Duncan Bates
ended up doing easy_install from the command line in both the python environment and pyton/Script base dir. Installed c:\ttribe\trunk\tribe\workpc27\lib\site-packages\pillow-2.2.2-py2.7-win32.egg Processing dependencies for Pillow Finished processing dependencies for Pillow

Re: 'placeholder' attrs in forms.TextInput not translated on the fly

2013-12-20 Thread Chang Sun
Yeah, I think I have solved this problem myself. I should use ugettext_lazy here. On Friday, December 20, 2013 3:55:35 PM UTC+8, Chang Sun wrote: > > Hi, everyone! > > I add placeholder attrs to forms.TextInput so it can show in html5 > widget=forms.TextInput(attrs={'placeholder': >