What's new in Django community blogs?

Django on Dreamhost: An adventure

Sep 01 2006 [Archived Version] □ Published at zerokspot.com

Somehow Dreamhost’s server setup must be really strange … For the last 4 hours I tried setting up a dummy Django project on Dreamhost using basically a combination of the tutorial in the Dreamhost WIKI and the tutorial on Djangoproject.com for using Django with FastCGI … but first things first: At home I’m using a prefix setup for all Python libraries I’m using including Django which seems to work quite well … at home.


No explicity expiring cache in Django?

Aug 28 2006 [Archived Version] □ Published at zerokspot.com

For the last couple of days I’ve been playing around a little bit with Django, a RubyOnRails like webframework written in Python. Sure, you can compare it to RoR if you want, but in my opinion it has enough unique features to set it apart from the Ruby framework. One thing I’m so far missing though from Django is some of the caching functionality from RoR. Django offers 3 types of caching (from what I’ve learned so far):


Extend Django’s database API to include full-text search

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

Here we will introduce Django's database API, and demonstrate its flexibility by extending it to support MySQL's full-text search capabilities.


Extend Django’s database API to include full-text search

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

Here we will introduce Django's database API, and demonstrate its flexibility by extending it to support MySQL's full-text search capabilities.


Extend Django’s database API to include full-text search

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

Here we will introduce Django's database API, and demonstrate its flexibility by extending it to support MySQL's full-text search capabilities.


Stockphoto 0.2 released

Aug 13 2006 [Archived Version] □ Published at Prosthetic Conscience

I got impatient and decided to go ahead and release version 0.2 of stockphoto . This version introduces no new ...


Any Django People Coming To LinuxWorld?

Aug 11 2006 [Archived Version] □ Published at devurandom.org

Anyone working on/with or just interested in Django coming to LinuxWorld? If so, let me know and we'll see about an informal meetup.


Django is the favourite of Guido van Rossum

Aug 08 2006 [Archived Version] □ Published at Nuno Mariz

Django Project

Guido van Rossum said in the latest FLOSS Weekly podcast:

My personal favorite -- and I expect that that will remain a personal favorite for a long time -- is something named Django. ... I highly recommend it.
Django has been my tool for a new project of mine, has been worth it the time spent learning Django and Python(right now my personal favourite programming language). Django preferred setup is Apache with mod_python, this has make my choice easier because I've been always using Apache with PHP. If you want to give it a try(I recommend it), read the Part 1 of the tutorial. And if you have doubts about performance, read this.


Django .95 Is Here!

Jul 30 2006 [Archived Version] □ Published at devurandom.org

Yes, Django .95 has just been released. For those who don't run off SVN trunk, there will be some upgrade issues. Read Removing The Magic on the Django wiki carefully. The changes to Django are well worth any upgrade inconvenience. And some things are just plain easier to get done post magic removal, as I found out this week back-porting a Google site map generator app I wrote while running from SVN.

Congratulations to Adrian, Jacob, and all who contribute code for the release!


Acknowledging the Mobile Web with Django

Jul 26 2006 [Archived Version] □ Published at Matt Croydon under tags  django mobile python

I was reading up on HowToProvideAlternateViewsForMobileDevices on the Rails wiki this morning and couldn’t help but notice how much easier it is to set up a mobile version of a Django site. At World Online we have stripped-down barebones no frills “all we want are the facts ma’am” versions of all of our sites. They […]


Django/AJAX Beating

Jul 05 2006 [Archived Version] □ Published at devurandom.org

James Bennett is taking a bit of a beating for his Django/AJAXsuggestions. A lot of the criticism is unmerited Rails envy, I imagine. Rails has RJS — great! Django is not Rails.

If you want to build more than toy apps, you'll need something more sophisticated than these little server-side helper functions. And if you just want partial page updates or DHTML UI tricks, any JavaScript toolkit can make this quick and painless for you.

I also don't see why when someone says "Django's AJAX support shouldn't look like RJS," people hear, "Django isn't going to include AJAX support." AJAX, for all it's usefulness as a term, is used in many different ways. I think the confusion in this case is due to the same word being used to mean two completely different things.


New Job with Naples Daily News

Jul 04 2006 [Archived Version] □ Published at devurandom.org

I've taken a new job with Naples Daily News. I'll be a developer in the new media department building cool stuff with Django. I'm excited about the work and about working with Rob Curley, Eric Moritz, and the rest of the team.

I'll still be Alabama working from home, being that I just bought a house 3 months ago. I'll travel a bit more now, making monthly trips to Naples, which is a really beautiful and interesting city.

I think this is one of the best moves I've ever made. When I first started working with Django, I was so impressed by what I heard about World Online and really wanted to be doing the same kind of work and be in the same kind of environment. Now, I get that chance. How cool is this!

I finish at the library on Tuesday, July 11, and start work with Naples News the next day.


Now Django Powered

Jul 02 2006 [Archived Version] □ Published at devurandom.org

I finally got this site converted to Django, more or less. There are a few static pages lying around, but on the whole, I'm Django powered now. It was quite a hack job, of which I'll (maybe) relate later.

My hosting service Jump Domain doesn't really advertise Python or Django support. It can be done, though it's probably not for the faint of heart. Scott with Jump Domain has been ultra helpful and I'll try to talk with him more about what can be done to improve support for Django and Python.


Django Admin interface for a Blog in 5 mins

Jun 13 2006 [Archived Version] □ Published at Nuno Mariz

It's so cool with Django:
from django.db import models
from django.contrib.auth.models import User

class Tag(models.Model):
    name = models.CharField(maxlength=200, core=True)
 
    class Admin:
        ordering = ['name']   
        
    def __str__(self):
        return self.name

PUBLICATION_CHOICES = (
    ('Draft', 'Draft'),
    ('Published', 'Published'),
)
        
class Post(models.Model):
    author = models.ForeignKey(User)
    title = models.CharField(maxlength=200)    
    summary = models.TextField()
    body = models.TextField()
    created = models.DateTimeField(default=models.LazyDate())
    last_modified = models.DateTimeField(auto_now=True)
    enable_comments = models.BooleanField(default=True)
    tags = models.ManyToManyField(Tag)
    publication = models.CharField(maxlength=32, choices=PUBLICATION_CHOICES, radio_admin=True, default='Published')

    class Admin:
        ordering = ['-created']
        search_fields = ['title']
        list_display = ('title','author', 'created')
        list_filter = ('created','last_modified','enable_comments','publication', 'tags')

    def __str__(self):
        return self.title
    

class Comment(models.Model):
    post = models.ForeignKey(Post)
    name = models.CharField(maxlength=100)
    email = models.EmailField()
    website = models.CharField(maxlength=200, blank=True, null=True)
    comment = models.TextField()
    created = models.DateTimeField(auto_now_add=True)
    last_modified = models.DateTimeField(auto_now=True)
    
    class Admin:
        ordering = ['-created']
        search_fields = ['name']
        list_display = ('post','name', 'created')
        list_filter = ('created','last_modified')

    def __str__(self):
        return self.name


Django And The Disappearing Template Tags

May 25 2006 [Archived Version] □ Published at Push cx under tags  code django

If you are defining custom template tags, don’t put them in a file named log.py. You’ll be able to {% load log %} fine in your template, but you won’t be able to use your tags. No, this isn’t documented anywhere. I suspect it’s because the admin interface also defines custom tags in a file […]


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

Social Sharing

Feeds

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 & 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 & development webdev web development webfaction web framework websockets whoosh windows wordpress work workshop wsgi yada znc zope