Skip to main content

Home/ Django/ Group items tagged Django

Rss Feed Group items tagged

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...
  • sync_link.py
  • Now worries though -- we just need to tell it about it.
  • 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.
israel vasquez

http://mail.google.com/mail/?ui=2&ik=66e27764d5&view=att&th=123e7e23919f9436&attid=0.1&... - 0 views

    • israel vasquez
       
      fdasfdsaf
  • lled on a shared environment if you use FastCGI with it.
  •  
    Hey, please remove this bookmark
israel vasquez

South - 0 views

shared by israel vasquez on 17 Jun 09 - Cached
« First ‹ Previous 161 - 180 of 194 Next ›
Showing 20 items per page