Re: Create User method for Custom Manager Django

2015-02-04 Thread Max Nathaniel Ho
Read it. Understand it now. Thanks! On Tuesday, February 3, 2015 at 10:12:08 PM UTC+8, Daniel Roseman wrote: > > > On Tuesday, 3 February 2015 06:19:47 UTC, Max Nathaniel Ho wrote: >> >> Hi all, >> >> I am following this tutorial ( >> http://musings.tin

Create User method for Custom Manager Django

2015-02-02 Thread Max Nathaniel Ho
Hi all, I am following this tutorial ( http://musings.tinbrain.net/blog/2014/sep/21/registration-django-easy-way/) to create a user registration model in Django. I understand that the class UserManager is overwriting the default User model. However, I do not understand this particular part.

Re: Chrome Desktop Notification for Django

2014-11-13 Thread Max Nathaniel Ho
ike EventSource for this, > though you could also use websockets or polling (checking every few > minutes/seconds). > > https://developer.mozilla.org/en-US/docs/Web/API/EventSource > http://en.wikipedia.org/wiki/Server-sent_events > > Collin > > On Tuesday, November 11, 2014 8:12:43

Chrome Desktop Notification for Django

2014-11-11 Thread Max Nathaniel Ho
I found this excellent example on Chrome Desktop Notification - Chrome desktop notification example? I am able to create the Desktop Notification by clicking a button. However, that is pretty front-end. I

Chrome Desktop Notification

2014-11-10 Thread Max Nathaniel Ho
Hi all, I've been tasked to create a simple Chrome Desktop notification module. >From what I have read up so far, I think it means having a desktop notification with a message whenever a certain action is done through the use of Chrome Extension. Has anyone done a similar task, or know of

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
ny variable on any model - gender or length or > a boolean or whatever > > Cheers > L. > > > On 23 October 2014 19:20, Max Nathaniel Ho <maxhow...@gmail.com> wrote: > > Hi Andreas, > > > > Thank you. Will read up! > > > > On Thu, Oct 23, 2014

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
connecting to your backend via javascript or connecting 2 different > projects over the Internet. > > Regards, > > Andréas > > 2014-10-23 10:14 GMT+02:00 Max Nathaniel Ho <maxhow...@gmail.com>: > >> Hi Russell, >> >> Thanks for your reply. As I am fairly n

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
framework; that > Kickstarter was extraordinarily successful due to the support of the > community. > > If you need to write a ReSTful API for your Django app, it's well worth > your time to take a look at it. > > Yours, > Russ Magee %-) > > On Thu, Oct 23, 2014 at 11:14 AM,

Django REST Framework

2014-10-22 Thread Max Nathaniel Ho
Hi all, I just came across Django REST Framework. From what I have read up so far, its a Web API framework. What does it do and what is the difference between this and the regular Django Web Framework? Thanks! -- You received this message because you are subscribed to the Google Groups

Re: Static Media Server (Tango with Django)

2014-10-14 Thread Max Nathaniel Ho
Hi Carl, Colin and Andréas, Thank you for all your replies. You have more than answered my question and clarified my doubts :) On Tuesday, October 14, 2014 1:11:37 AM UTC+8, Carl Meyer wrote: > > Hi Max, > > On 10/13/2014 01:39 AM, Max Nathaniel Ho wrote: > > Hi all, &

Re: Static Media Server (Tango with Django)

2014-10-13 Thread Max Nathaniel Ho
Hi DR, Thanks for your reply. I wanted to clarify - 1. The purpose of Static Media Server and 2. If it is an outdated concept On Monday, October 13, 2014 4:57:32 PM UTC+8, Daniel Roseman wrote: > > On Monday, 13 October 2014 08:39:26 UTC+1, Max Nathaniel Ho wrote: >> >>

Static Media Server (Tango with Django)

2014-10-13 Thread Max Nathaniel Ho
Hi all, I am going through this tutorial on Tango with Django - http://www.tangowithdjango.com/book/chapters/templates_static.html I extracted the specific part of the tutorial as seen in *BOLD*. *4.4. The Static Media Server

Re: Writing your first Django App Part 1

2014-09-02 Thread Max Nathaniel Ho
Thanks! For the codes, do I save them in views.py? On Wednesday, September 3, 2014 7:23:07 AM UTC+8, Jonathan Querubina wrote: > > Just tupe in. Do not worry. > > Is just for learning about the shell and its power > > Sent from my iPhone > > > On Sep 2, 2014, at 20

Writing your first Django App Part 1

2014-09-02 Thread Max Nathaniel Ho
I'm following the instructions in the tutorial but am stuck at this part. We are told to type in "python manage.py shell" and explore the database API. Thereafter there is a chunk of code that is presented. Am I supposed to type it into my Command Prompt box, and when I do, it will be saved