entries tagged with "django"
-
Tech Behind Red Robot Studios Part 2: Versioned Media and Expires Headers in Django posted by Andrew
Read more...We try to make our sites as responsive as possible, and as part of our testing, we realised that we should do the right thing and add Expires Headers to our static media. Our web servers are configured so when a client requests an image, stylesheet or JavaScript file, it is returned along with a far-future expires header. This tells the client not to ask for that file again, but to cache it for a month or more.
Encouraging Caching ...
-
Tech Behind Red Robot Studios Part 1: Handling Subdomains in Django posted by Andrew
Read more...This is the first part of our series on some of the more interesting tech we've developed for Red Robot Studios. We're working from webserver up, so we thought that subdomains would be a good place to start.
Subdomains are useful when you want to host multiple sites with the same code and different data. For example, providing websites for clubs where each club has its own subdomain. In Django, you could have a
Clubmodel and some ... -
Upcoming Series: The Django Tech Behind Red Robot Studios posted by Andrew
Read more...We're proud to announce that we've just launched a new development company: Red Robot Studios. We're really excited, and have a great feeling about the things we'll be able to do with the company over the coming months.
Red Robot Studios, (and it's products) all run on Django, Python, Postgres and Nginx. So, with that in mind, and over the next couple of weeks, we'll be writing some articles on the most interesting aspects ...
-
Remote/telecommuting Gig Filtering posted by Andrew
Read more...We have finally gotten around to adding simple filtering of remote/telecommuting gigs to the site. A significant number of people expressed the desire for the feature and we couldn't let them down, so thought we'd better get going and add it. The changes also extend to the feed generator, so you can now get a purely remote gig feed as well as what we had before.
As the site has increased in popularity tremendously over the last ...
-
Djangogigs First Sponsor posted by Andrew
Read more...Just a quick note to say thanks to Brian Chow from Full Factor Technologies for becoming the first to sponsor Djangogigs.
-
ValuesQuerySet changes POST-qs-rf merge posted by Andrew
Read more...Update: As Malcolm has commented below, the issue described here was in fact a bug which has now been fixed.
Just a quick note regarding of one area of change since the merge of the queryset-refactor branch into the trunk which has broken a specific use-case of the
ValuesQuerySet.To reduce the number of queries which are executed when accessing related items from a model I have one particular view which uses
values()to returnValuesQuerySetrepresenting the associated instance ... -
Djangogigs and the feedgenerator module posted by Andrew
Read more...Update: Sorry about the escaped markup in the community feed. That's what happens when upgrading your working copy in a rush and not testing everything thoroughly.
It's been a while since I've written any kind of django-related post, but since djangogigs got a good mention by Adrian at PyCon08 I thought I'd better talk about some of the updates - some old, some new - to djangogigs and other django-related things.
A while ago we implemented two commonly ...
-
Djangogigs - New Features posted by Andrew
Read more...Just a quick post to outline some of the new features we've added to djangogigs. After a number of requests we've now provided developers with the ability to edit their profile, and also provided a contact form for both gigs and developers as a way to help protect users' email addresses from harvesting by bots.
We decided to try out a token-based URL scheme to authorize editing so people don't have to create an account and remember ...
-
Djangogigs.com Downtime posted by Andrew
Read more...As some have noticed, django gigs was down for most of yesterday after the 123-reg.co.uk DNS servers went down for about 12 hours. Scott has now moved the domain to zoneedit.com which is a free DNS service, and hopefully the change will have propagated to most DNS servers by now and normal service have been resumed.
And just as we were going to release a load of new features - typical isn't it?
-
djangogigs.com - From Idea to Release in 6 Hours posted by Andrew
Read more...Yesterday afternoon around 2 p.m, Scott and I had an idea to develop a job/gig board for people looking for Django developers. I know there's the Developers for Hire page which shows some projects, and there are also some posted in the Google groups but there didn't seem to be a good dedicated site just for this purpose, so we thought we'd give it a go.
Since we're both freelance developers and used to ...
