What's new in Django community blogs?

Long time, no post

Dec 09 2006 [Archived Version] □ Published at Glenn Fanxman

Wow, it has been half a year since this site was up. It used to be that I hosted this site ( and all of the other crazy sites I have ) out of a spare bedroom. That server room was host to anywhere between 4 and 12 computers at any given time. I generated a lot of noise, and a lot of heat. When we decided to move, I shut everything down and put the servers in storage so that the room could be made more presentable. Wow, our energy bills dropped by more than $80 per month at that point. And the room became much more inhabitable. Now that we've moved into our new home, I'm reticent to put it all back in place, so instead of that, I'm experimenting with Xen. Xen is an open source virtualization project similar to vmware of parallels, but only for linux. At this point I've got a virtual machine, which you are using right now that is running in boulder.
Post to Del.icio.us

When Django's translation() dies a painful death

Dec 06 2006 [Archived Version] □ Published at zerokspot.com

Finally something about coding here ;-) I’ve just started working on a little project for a friend and I guess in the days to come I will probably write a little bit about things I learned about Django and also describe fixes for problems I faced. So on to the first problem: If you ever get something like this with Django: "<PREFIX>/django/utils/translation/trans_real.py", line 167, in _fetch app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:]) AttributeError: 'module' object has no attribute '<APP_IN_PROJ>' ------------------------------- this might be caused by circular imports within your INSTALLED_APPS.

MythTV Box Down

Dec 06 2006 [Archived Version] □ Published at Eric Florenzano's Blog

MythTV Box Down

Dec 06, 2006

Yesterday the MythTV computer that my roommate and I has died. That is to say that the hard drives which contained all of the shows stopped functioning. I think what we're going to do is wipe the hard drives and put only a small main hard drive in the MythTV box, and put the rest into a FreeNAS NAS server.

It'll have 2x200GB, 1x160GB, and 1x500GB hard drives by the time we're done, making for a total of 1060GB (just over a terabyte!) of total hard drive space.

Then, we'll have some HDs used for our respective media files, and probably the 500gb drive mapped from the MythTV box as the media storage for all the TV shows. That way, if something happens to the MythTV box, we don't lose everything like we did this time. The only problem that I can see is if the network just isn't fast enough for us to store our files on there and access it from our computers simultaneously.

I'm also trying to decide what case will be best to put the new MythTV components in. Right now I'm leaning towards the Lian Li PC-V880B, but any other suggestions are welcome.

Posted in:

Memcached and OpenWebLoad

Dec 04 2006 [Archived Version] □ Published at Eric Florenzano's Blog

Memcached and OpenWebLoad

Dec 04, 2006

There has been a somewhat minor update to the site. Now almost all of the site is cached. That is, there is a memcached backend running on the server, and this website can take advantage of that.

To test out the site's load capabilities, I used an open source program called OpenWebLoad. It's quite impressive in its simplicity and utility. With it, I was able to test a load of over 50 simultaneous users to the website. Surprisingly, the site handled it with flying colors.

On a side note, I went to Wil Wheaton's site after a long stint of not visiting it, and it's still as good as it's ever been. There's an almost tangible difference between a writer's website and a blogger's website. I think that it boils down to the fact that using only words, Wil can make you feel the emotion that he wants you to feel.

New Site Live!

Dec 03 2006 [Archived Version] □ Published at Eric Florenzano's Blog

New Site Live!

Dec 03, 2006

Hello all! I have finally put my new website up for the world to see! I'm still not much for designing the look and feel of websites, but after learning all about Django, I felt like I just had to update my website to use Django.

Under the hood, there is low-level caching being done on both the Digg RSS feed and the Yahoo Flickr feed. There are two RSS feeds available for the site: new blog posts, and new run information. To show the graph under runs, I've used some AJAX to get the running data dynamically and create the graph with javascript. Finally, I've created a custom Django template tag to allow me to post syntax-highlighted code using Pygments.

Example of pygmentized code (the one from this site, actually, that gets my latest digg articles):

def get_digg_rss():
    d = feedparser.parse('http://www.digg.com/rss/floguy/index2.xml')
    dugg_dicts = cache.get('dugg_dicts')
    if dugg_dicts == None:
        print "Had to re-fetch digg links"
        dugg_dicts = []
        for entry in d.entries:
            dugg_dicts.append({'title':entry.title, 'link':entry.link})
        cache.set('dugg_dicts', dugg_dicts, 60*60)
    return dugg_dicts

I hope that you all enjoy the website, and I also hope that you'll begin to frequent it, because I'll be keeping it up-to-date with the goings-on of my professional life.

A Book about Django

Oct 31 2006 [Archived Version] □ Published at zerokspot.com

Sometimes when you compare Django with other (perhaps) more popular frameworks like RoR you hear people saying, that there is too little literature esp. in the form of books out there for the Python web framework. This seems now about to change. Adrian Holovaty and Jacob Kaplan-Moss have started opening up their upcoming book about Django to the community under djangobook.com. From what it looks like, they will release 2 chapters every week and are requesting comments, suggestions etc.

Django GeoIP templatetag

Oct 27 2006 [Archived Version] □ Published at Rachel's Knowledge Base under tags  django geoip

I’ve published 2 template tags for use with GeoIP at geoip.py. Hope they may be of use… Usage: # Templatetag get_country_name returns the client’s country code # # Example: # {% ifequal get_country “GB” %} # do something # {% endifequal %} # Templatetag get_country sets the given variable name # to the client’s country […]

The post Django GeoIP templatetag appeared first on Rachel's Knowledge Base.

Django/Ajax: a great simple tutorial

Oct 27 2006 [Archived Version] □ Published at Rachel's Knowledge Base under tags  ajax django

An excellent tutorial from James Bennett for your first step into combining AJAX with Django “A step-by-step walk through a simple AJAX form with Django backend”

The post Django/Ajax: a great simple tutorial appeared first on Rachel's Knowledge Base.

Django signals

Oct 17 2006 [Archived Version] □ Published at Django whitepapers News

In this article we introduce the concept of signalling, discuss Django signals, provide examples of listening for Django's built-in signals and sending custom signals.

Django signals

Oct 17 2006 [Archived Version] □ Published at Django whitepapers News

In this article we introduce the concept of signalling, discuss Django signals, provide examples of listening for Django's built-in signals and sending custom signals.

Django signals

Oct 17 2006 [Archived Version] □ Published at Django whitepapers News

In this article we introduce the concept of signalling, discuss Django signals, provide examples of listening for Django's built-in signals and sending custom signals.

How to make a Django ForeignKey optional

Oct 06 2006 [Archived Version] □ Published at Rachel's Knowledge Base under tags  django

Looks like you need to have both blank=True and null=True to make a ForeignKey optional in a django model…

The post How to make a Django ForeignKey optional appeared first on Rachel's Knowledge Base.

Vancouver Python User Group Talk on Python Web Frameworks (Django, Turbogears) - October 3, 2006

Sep 27 2006 [Archived Version] □ Published at David Grant under tags  django python pyz turbogears vancouver

Vancouver's Python and Zope User Group will be having a talk on Python web frameworks, ie. Django and Turbogears at their upcoming meeting on October 3rd. I'm looking forward to learning about web frameworks in general a bit more and perhaps what differentiates them from each other and from Ruby on Rails.

Django me again, baby!

Sep 14 2006 [Archived Version] □ Published at Deadly Bloody Serious under tags  django

I know, I know: I haven’t written about Django for a while. Nor am I this time, really, except to note that I’m still a Subversion novice and have screwed up my vendor branch strategy. I’ll get back to it, though, honest. All I need is some Copious Spare Time… In other news: if you [...]

This is a post from Deadly Bloody Serious.

Django me again, baby!

Pro Django: Web Development Done Right

Sep 01 2006 [Archived Version] □ Published at Nuno Mariz

Pro Django: Web Development Done Right
The first book about Django was released is available for pre-order at amazon. The authors are Adrian Holovaty and Jacob Kaplan-Moss, both involved in the project. This book will definitively be my next buy.
The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django-driven web site. The second part delves into the more sophisticated features of Django, like outputting non-HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django’s many configuration options and commands. The book even includes seven appendixes for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework.

django-planet aggregates posts from Django-related blogs. It is not affiliated with or endorsed by the Django Project.

Social Sharing


Tag cloud

admin administration adsense advanced ajax amazon angular angularjs apache api app appengine app engine apple application security aprendiendo python architecture argentina articles asides audrey australia authentication automation backup bash basics best practices binary bitbucket blog blog action day blogging book books buildout business c++ cache capoeira celery celerycam celerycrawler challenges chat cheatsheet cherokee choices christianity class-based-views cliff clojure cloud cms code codeship codeship news coding command community computer computers computing configuration consumernotebook consumer-notebook continuous deployment continuous integration cookiecutter couchdb coverage css custom d data database databases db debian debugging deploy deployment deployment academy design developers development devops digitalocean django django1.7 django admin django cms djangocon django framework django-nose django-readonly-site django-rest-framework django-tagging django templates django-twisted-chat django web framework tutorials documentation dojango dojo dotcloud dreamhost dughh easy_install eclipse education elasticsearch email encoding english error europe eventbrite events expressjs extensions fabric facebook family fashiolista fedora field file filter fix flash flask foreman form forms frameworks friends fun functional reactive programming gae gallery games geek general gentoo gis git github gmail gnome google google app engine guides gunicorn hack hackathon hacking hamburg haskell heroku holidays hosting howto how-to howtos how-tos html http i18n image imaging indifex install installation intermediate internet ios iphone java javascript jinja2 jobs journalism jquery json justmigrated kde la latex linear regression linkedin linode linux login mac machine learning mac os x markdown math memcached meme mercurial meta meteor migration mirror misc model models mod_wsgi mongodb months mozilla multi-language mvc mysql nasa nelenschuurmans newforms news nginx nodejs nosql oauth ogólne openshift opensource open source open-source openstack operations orm osx os x ottawa paas packages packaging patterns pedantics pelican penetration test performance personal personal and misc philippines philosophy php pi pil pinax pip piston planet plone plugin pony postgis postgres postgresql ppoftw presentation private programmieren programming programming &amp; internet project projects pycharm pycon pycon-2013-guide pydiversity pygrunn pyladies pypi pypy pyramid python python3 queryset quick tips quora rabbitmq rails rant ratnadeep debnath reactjs recipe redis refactor release request resolutions rest reusable app review rhel rtnpro ruby ruby on rails scala scaling science screencast script scripting security server setup shell simple smiley snaking software software collections software development south sphinx sprint sql ssh ssl static storage supervisor support svn sysadmin tag tag cloud talk nerdy to me tastypie tdd techblog technical technology template templates template tags test testing tests tip tips tools tornado training transifex travel travel tips for geeks tumbles tutorial tutorials twisted twitter twoscoops typo3 ubuntu uncategorized unicode unittest unix use user authentication usergroup uwsgi uxebu virtualenv virtualenvwrapper web web 2.0 web application web applications web design &amp; development webdev web development webfaction web framework websockets whoosh windows wordpress work workshop wsgi yada znc zope