News for hackers. Stuff that matters.

Ask HN: I want to create a mobile web app with Django. Where to begin?

Hailing all Python experts! What is the correct path to go if I want to write a simple web app in Django. I want to have a login and when I login, just display some simple data.

Right now I'm reading up on Django, what else should I read and familiarize myself with?

As a beginner it's tough sorting through all the data on Google and finding out what is write/wrong and wasting hours experimenting.

( 4 comments | 9 points | on HN )
Re:Ask HN: I want to create a mobile web app with Django. Wh... by antonio-R on Thursday June 27, 2013 @11:02AM (#5952645)
Well beside reading de doc. and start by creating the "hello world" django app, you should take a look at these django packages: https://www.djangopackages.com/grids/g/mobile/

then save the android developers site and read the design patterns section: http://developer.android.com/design/patterns/index.html

and finally follow this tutorial to jump start your mobile app: http://mobiforge.com/developing/story/build-a-mobile-and-des...

Re:Ask HN: I want to create a mobile web app with Django. Wh... by rfnslyr on Thursday June 27, 2013 @11:16AM (#5952737)
Awesome, thank you very much, bookmarked these resources!
Re:Ask HN: I want to create a mobile web app with Django. Wh... by jeffasinger on Thursday June 27, 2013 @02:19PM (#5953833)
There's two approaches here:

1) Traditional, have Django serve mobile optimized HTML via it's templates.

2) Use django to create an API, there's several tools to help with this, like piston, django-rest-framework, and tastypie.

Re:Ask HN: I want to create a mobile web app with Django. Wh... by ASpring on Thursday June 27, 2013 @12:53PM (#5953287)
A project that I am currently working on uses a Django Piston API and a javascript framework on the client.

Piston: https://bitbucket.org/jespern/django-piston/wiki/Home