Skip to main content

Home/ Groups/ Django
Leandro Ardissone

Real World Django - 1 views

  •  
    There's plenty of material (documentation, blogs, books) out there that'll help you write a site using Django… but then what? You've still got to test, deploy, monitor, and tune the site; failure at deployment time means all your beautiful code is for naught. This tutorial examines how best to cope when the Real World intrudes on your carefully designed website.
Gabriele Mearelli

django-forum - The Usware Blog - Django Web Development - 1 views

  •  
    A punBB-like django forum.
pagetribe .

Build a Microblog with Django - Webmonkey - 0 views

  • Well, it turns out there's a very powerful feature baked into Django which can handle the task for us.
  • Django includes an internal "dispatcher" which allows objects to listen for signals from other objects.
  • In our case, our tumblelog app is going to "listen" to our Entry and Link models. Every time a new Entry or Link is saved, those models will send out a signal. When the tumblelog app gets the signal it will automatically update itself.
Gabriele Mearelli

Marc Garcia & The Python: GSoC: Implementation of additional i18n features on Django - 1 views

  • Translating dynamic content
  • Translating dynamic content
  • Translating dynamic content
pagetribe .

Screencast on many to many relationships between Django models - 0 views

  •  
    A nice screencast on many to many relationships. Part of a 3 part series on developing a wiki in django.
anonymous

Django - Adding Authentication achinghead.com - 0 views

  • As a shortcut, you can use the convenient login_required decorator.
    • anonymous
       
      Interesting...
  •  
    How to add user authentication to Django.
pagetribe .

Integrate Web APIs into Your Django Site - Webmonkey - 0 views

  • Link.objects.get_or_create( url = info['href'], description = info['extended'], tags = info.get('tag', ''), date = parsedate(info['time']), title = info['description']
  • But we don't want to have to log in to the shell every time we want to update our displayed list of bookmarks. In fact, we want our site to automatically update itself. To do that, we're going to write a quick python script and then run it through a cron job.
  • problem
  • ...9 more annotations...
  • Now worries though -- we just need to tell it about it.
  • sync_link.py
  • create a new folder
  • name it "links."
  • class Link
  • "utils.py"
  • create a new file
  • links directory
  • utils.py
  •  
    Gives a good example of how to update a database via cron.
‹ Previous 21 - 40 Next › Last »
Showing 20 items per page