Skip to main content

Home/ Groups/ Django
1More

E-Scribe News : World's ugliest Django app - 0 views

  •  
    create a simple django app quick and easy
1More

Django Reusable App Conventions | Surfing in Kansas - 0 views

  •  
    More conventions on reusable apps
1More

Bitbucket source for django-contact-forms - 0 views

  •  
    use to create contact forms
1More

Building reusable Django apps - The Uswaretech Blog - Django Web Development - 0 views

  •  
    Tips for building reusable apps
1More

Python Success Stories - 0 views

  •  
    How Rackspace uses python
1More

PyFacebook Tutorial - Facebook Developers Wiki - 0 views

  •  
    tutorial for facebook apps using django and python
1More

django-spambayes - Google Code - 0 views

  •  
    Django-SpamBayes includes a few utility apps for Django that offer an easy to use interface to the SpamBayes statistical anti-spam filter allowing filtering and moderation (with training) of comments, contact forms and other publicly submitted data.

New moderators - 27 views

started by anonymous on 04 Dec 08 no follow-up yet
13More

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.
3More

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.
3More

Standalone Django scripts - 0 views

  • Set DJANGO_SETTINGS_MODULE before you run
  • export DJANGO_SETTINGS_MODULE=yoursite.settings
  • # Cron jobs for foo.com run at 3AM DJANGO_SETTINGS_MODULE=foo.settings 0 3 * * * python /path/to/maintenance/script.py 30 3 * * * python /path/to/other/script.py # Cron jobs for bar.com run at 4AM DJANGO_SETTINGS_MODULE=bar.settings 0 4 * * * python /path/to/maintenance/script.py 30 4 * * * python /path/to/other/script.py
« First ‹ Previous 81 - 100 of 166 Next › Last »
Showing 20 items per page