Activity tagged “django”
OMGWTFBBQ!? This looks incredible.
A great writeup of the talk I just finished giving. I'll have a more complete version online shortly, but these are great notes until I do.
For years I've been saying something like this was inevitable. Glad to see I was right.
A CMS-oriented datastore, open sourced today at DevChatt. Interesting, and worth a closer look, I think.
Generic image uploading and management
Nice comparison chart of different Django media asset management utilities.
Mark totally nails it (as usual): this perfectly sums up the positive and negative aspects of Django's coupled design. I really couldn't have said it better myself.
Video of my keynote at PyCon Argentina.
Very slick looking webhook implementation for Django using Celery.
Django-SocialAuth - Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog - Django Web Development
Looks slick. Gotta give this a try.
South 0.6 is out, bringing with it some awesome new features and a bunch of general improvements. The highlight for me is the new “convert_to_south” command which makes the bootstrapping process far less painful.
Nice technique for lightweight WSGI apps without needing to touch your Apache conf after the initial setup. I'd like to do something like this for my personal site so that it's easier to deploy quick & dirty apps.
Everyone: do this. Now.
A proper couchdb backend for Django. This would be a good place to start for anyone wanting to write non-relational backends for Django.
We rock, and now I've got statistics to prove it.
Yet another spin on class-based HTTP method dispatch in Django. The neat trick this time around is with a classmethod dispatcher that creates a request-local instance of the class, thus letting you save state on self without causing errors. Neat technique.
Run Django on Glassfish. Nifty!
Mike shows off how to implement multiple master/slave replication support in Django right now. Nifty.
Some caching code Mike pulled out of Pownce.
A Django-ish template language for Cocoa.
Behind the simple description — “Add a “Meta.managed” option to models.” — lies a fantastic feature. You can now tell Django that certain models are managed “externally” (in some sense) and prevent generation of SQL for those models. This makes it easy to build models around database views, data maintained by other ORMs, etc. Thanks, Malcolm!
Leah discovers the missing link.
“./manage.py sync_media_s3 mybucket“. Kick ass.
A wonderful introduction to making AJAXy sites with Django. Make sure to pay attention to the first step: “the first step to implementing an Ajax webapp is to implement the webapp without Ajax.” Word.
How to integrate Django 1.0's file storage APIs with MogileFS.
Andrew's implementation of a “denormalized field” for Django. There's a bit I don't get about the implementation — factory functions? really? — but this is a Good Idea and ought to only get better.
Congrats, Leah and Mike!
I literally laughed so hard I nearly fell out of my chair.
Great guide to upgrading from pre-1.0 django.comments to the version in 1.0.It's quite a bit better than the one in the docs, which probably means I should ask Patrick if I can adapt this into the documentation proper.
Really purty one-page cheat-sheet, updated for Django 1.0.
I'm going to sleep now. See you at DjangoCon!
The schema evolution in Django space is really heating up. With luck we can keep the competition friendly, and pull out a best-of-breed solution to roll back into Django.
Integrate Google's Business Search with Django.
Live(ish) stats of the state of Django's translations. At an average of 70% across 49 languages — many are at or close to 100% — I think we're doing pretty damn awesome.
Radar covers the Flickr/BurningMan/OSM collaboration. I happen to know that this uses the GIS add-on to a certain popular web framework; I expect to hear more about that side of things at DjangoCon.
Gary Wilson: “Removed oldforms, validators, and related code.” Good riddance!
Yes, it really is that easy.
A clever trick to embed images in Markdown in some field in Django. Similar in concept to the “inline” system in Ellington, which has always been one of my favorite features.
Matt's been working on the JW's election coverage for a few years now, and it's getting *really* slick. To me, though, the most interesting part is in how Matt's been able to track down clueful people at Douglas County and the Secretary of State; having a quick and clean source of data makes this process much, must easier. It strikes me that there really isn't a whole lot of difference between Matt cultivating these relationships and a “traditional” journalist's cultivation of sources.
GvR: “Django is […] a pretty darn good web framework that matches my style of developing, it is also an exemplary example of a good open source project, run by people who really understand community involvement.”
GeoDjango lands in trunk! Huzzah!
Is Spawning Python's answer to Mongrel?
“A platform for rapidly developing websites.” I'm simply astounded by how far Pinax has come in the short time it's been around. The list of features is huge; I think with a little more work Pinax could become a serious competitor to Plone or Drupal.
Another good article about us — they even mention me :)
99% of SEO is snake oil. Django does the other 1% very, very well.
Randel Schwartz interviewed me about Django at OSCON. I think it went pretty well; listen and judge for yourself.
Oh, the perils of git-svn.
“Merged the newforms-admin branch into trunk.” WAHOO!
Clever management comment to run a script in the current Django context. Would make a good addition to django-command-extensions, I think.
Really neat base class for doing presentation of tabular data in Django. Very well-done.
Kevin pinned me down and got me to share some details about DjangoCon 2008.
“Fixed infuriating lack of apostrophe in a comment.” Adrian's commits are the best.
Welcome back, Malcolm!
The newest Ellington-powered site looks hawt.
Shabda's been interviewing all the core Django devs; this week it was my turn.
Man, I love this shit.
The Review Board team have extracted some of the utilities they wrote into an external library. Neat code; unfortunate name.
In a sign of its continuing descent into irrelevancy, Wired magazine features Django in its Expired/Tired/Wired bit. Snark aside, though, this is pretty damn cool.
Run Django's tests on multiple cores for better performance. I suspect much of testing is io-bound, but this is still a nifty trick.
Yahoo! UI (YUI) + Django templates == Google Code project! FTW! | Ryan Kanno: The diary of an Enginerd in Hawaii
A series of base templates that implement YUI grid layouts. Neat.
Django on Jython in Jetty (say that ten times fast!) It's looking like PyCon 2008 is the year of Django on alternate VMs.
How to run Django (0.96) on IronPython, including an MSSQL backend.
Malcolm explains some of the problems (and solutions) he's working on in the qs-rf branch. Really great stuff — Django's incredibly lucky to have him!
Holy crap - inspectdb for GeoDjango. Awesome!
Matt explains how he and Christian brought election results to ten sites in under two days. I'm blown away by how awesome their coverage was, and with how quickly they pulled it together. Congrats!
I've been pirated! I'm so happy about this that I can barely contain myself!
A port of the Django Template Language to Erlang. Sweet!
A cool idea: pre-bake static pages generated by Django. Sometimes simple is better.
The Front Range Pythoneers strike again: Django now runs pretty well on Jython. This really is a big deal.
Adam Gomaa *nails* the philosophy behind Django. I've tried to make similar arguments, but never really could articulate why Django works the way it does. Adam gets is perfectly right.
James' book is official!
“Blogmaker™ is a full-featured, production-quality blogging application for Django. It supports trackbacks, ping and comments with moderation and honeypot spam prevention.”
I'm not sure when he added this, but Simon's blog has an *amazing* watchlist feature that tracks new comments on all the threads you participate in. I don't think I've seen any other blog that's quite this slick.
Justin and Travis' presentation on GeoDjango from FOSS4G
That's awesome - I was just talking about this idea yesterday.
“Visitors [to] Revver will notice some major changes now active on the site. […] What visitors will not immediately notice is that the entire site is now built on Django […] which should help make the service faster and more reliable.” Sweet!
Apparently Jaiku is using Django internally, which means Google's now using Django in yet another place.
Beautifully simple Django/SQLAlchemy integration layer that automatically maps Django models into SQLAlchemy ORM objects. In theory a similar approch would allow SQLAlchemy objects to be exposed as Django models; that would kick ass.
Looks like someone beat our Django book to press.
Looks like Satchmo is quietly becoming a disruptive technology for webshop programmers: “at the moment I’ve got three more Satchmo clients. It is rapidly becoming the core of my consultancy, which is no surprise for me.”
Seems more ink has been spilled on these 256 pixels then on any others I can recall. Ned, however, manages to turn an otherwise mostly-pointless argument into an interesting digression on making icons.
We should support bcrypt in Django if this module is installed.
Watch this space.
This looks great. All my Zope knowledge comes from the hairy Zope2 days, so I really need to brush up on the brave new world of Zope.
Interesting work to integrate Django and Babel. Even if you don't need translation, there's some useful date/time/decimal formatting template filters here.
“First they ignore you, then they laugh at you, then they fight you, then you win.”
“Recently I switched all of my websites to Djanog from Rails and you can see the difference.” Wow, an amazing difference in RAM consumption. Especially surprising given that Python/Django isn't exactly known for low memory usage.
An easy path off Wordpress to Django. Nice.
Because “[t]he internet is stupid, and your users will misbehave.”
Sweet - someone wrote up the (simple) steps to getting Django running on an iPhone. Now I don't have to!
Marty Alchin's amazingly cool “audit trail” for Django models. Essentially creates *Audit models that track all changes to the underlying model. Unbelievably slick; this should make the start of a *very* nice third-party app.
Looks like the effbot is moving his indispensible “zone” to Django. Wonder if he'd mind sharing his code with me; I've been wanting a zone of my own for quite some time now…
Django-like template system for Ruby.
A UUID field for Django. Neat.
Slides and notes from the tutorial Simon, Jeremy and I gave yesterday at OSCON.
Nifty technique for a sort of double-opt-in delete for Django models. I especially like the TrashManager/NonTrashManager abstraction; very nice.
Happy birthday to us!
Integrating coverage.py with Django. Cool trick.
Malcolm's on a roll — Oracle support just a couple of weeks ago, and Unicodeification of Django this week! W00t!
Antonio on Django/Tabblo: “the HP folks doing diligence on us started by asking why we had not chosen Ruby on Rails and came out the other end incredibly impressed with our Django choice.”
“I find it very easy to pick out sites created with Rails, they mostly have a similar feel. Looking through the gallery I don't find the same thing with Django sites.” Man, am I glad to hear that!
The “official” (well, as official as it gets) version of the Django site.
PyFacebook — Python wrapper for the Facebook API. Uses Django by default.
Cute name; cool tool.
YUI-Ext tool for reading Django-serialized JSON data.
This is how Python does additions to the stdlib. We probably should look to do something similar…
Curse (powered by Django) handles 500k hits/hour and doesn't sweat.
Fantastic information about creating Django models at run-time. I didn't even know this was possible!
“It would be hard to come up with something more elegant for building web applications than Django.”
Daytime tear-jerking, now powered by Django.
Woo! This is shaping up to be really awesome.
“All the convenience methods and syntactical sugar that makes Rails such a pleasure for coders ends up being absolutely punishing, performance-wise.” That, right there, is why Django is written the way it is.
“DjangoKit is a framework that will (eventually) allow me to package just about any Django application as a stand-alone MacOS .app.”
Great writeup of *why* expat can cause mod_python to segfault. The mod_php + mod_python crashes that some Djangonauts see happen for exactly the same reason, so the debugging advice here is useful there, as well.
Ned Batchelder: “We definitely feel like Django was one of the reasons we were able to do that, and to make such an impression on HP… We'll be continuing with Django inside HP.”
Great writeup of launching a Django site.
Adrian has a new fan.
A good collection of stories from Django users. Gives me the warm fuzzies :)
A simple but powerful benchmark of Django served with mod_python, nginx, and lighttpd. Interesting, but not particularly surprising results.
Yet another benchmark of web frameworks, and yet another win for Django (this time it comes out around 3x faster than any of the alternatives).
Jon Udell's latest toy, powered by Django :)
Wow - the Big Nerd Ranch is teaching a five-day Django course.
Jon Udell (!) discovers Django. Be still my beating heart.
The effbot switches to Django
I need to add something like this to my site.
Some very good reasons to use Django.
“Django AMF is a Middleware for Django web framework written in Python. It enables Flash/Flex applications to invoke Django's view functions using AMF(Action Message Format).”
Paul Bissex writes the best Django/AJAX code yet.
I missed it when it happened, but Oracle now offers .debs for download. Schweet.
Awesome - Django on a PDA
A very well done screencast introducing Django.
James' article hits SitePoint. Well done, James!
Apparently San Diego State has a class on Django (with a link to my Google talk…). Cool.
Nathan brings the flash-fu
“His impressive streak, however, came under threat from Germany’s Ortmann, who was also unbeaten in four games before facing Django.”
Brian's writeup on his SoC project (that I'm mentoring). Hopefully he'll get around to the TODOs in the next week :)
A kick-ass look at how to extend Django's lookup API with custom methods. This one adds fulltext search in a particularly nifty way.
A relatively through comparison between the speed of Symfony, Rails, and Django. Turns out Django's around 30% faster than Rails.
“The FileBrowser is an extension to the Django Admin-Interface. It allows you to surf directories on the webserver and upload/delete specific file types. It is a tool for editors using the Admin-Interface to make it easier to work with Images or other Doc
“Django is everything I could ever want in a web framework”.
Come work for us!
“I finally gave Django a fair chance on a large web application project I did for a client. In a nutshell, wow!”
Bill de hÓra: “django has won the python frameworks battle”
Video of the talk I gave at Google last week.
My OSCON session
My OSCON tutorial
Python Web Framework Statistics
Hack on Django in Boston working for Ned Batchelder. If I wasn't already getting paid to work with Django, I'd apply so fast it would make your head spin.
Inspired by the twill lightning talk I've hooked up the twill wsgi intercept with django, pretty easy really.
Awesome Django site!
Color-picker widgeet based on Yahoo's UI library. The code's kinda crappy, actually, but the idea is pretty good.
“…my conclusion is that Django is a better fit for me.”
“…the punchline is that with Django and Python, I was able to create a DMS that directly addresses our needs in 24 programmer-hours and half a case of Mountain Dew.”
“At this point, I'd say Django *is* the winner in the LAMP-as-in-Python space”
Jason Huggins shows how to get Django to authenticate against LDAP. Bravo!
Some good tips on organizing DB schema updates. I'd like Django's schema evolution framework to work something like this.
Matt pimps out mobile.kusports.com
Our publishing system — built on Django — grows a web site of its very own.
“Django is fast. Fast is setting up. Fast for fitting in with legacy item. And these pages load really fast. Not only faster than most JAVA and RoR sites, but faster than many static sites.”
Mushroom site (!) built on Django. Note the awsome use of the i18n framework!
“Django is one good web framework. It is the easiest portal into programming “Flow” I’ve found in ages. Programming for Django rapidly sucks me into an extremely rapid and engaging code-test-next cycle.”
Video and audio from the Snakes and Rubies event
MIT licenses JSON encoder/decoder in Python. Besides the better license, the code is much clearer than json-py
Interesting idea - it might be worth adding multi-level caching to Django - you could have a small memcache that falls back to the database, for example.
Get paid to work with Django.
“It would be nice if I could have an “Agile Project in a Box” Linux distro or “megaframework .deb file” based on Ubuntu with Subversion, Trac, Buildbot (the Python equivalent of CruiseControl), Selenium, and Mail/News/Forum/Feeds software (Gmane?)
Melt is a campaign initiative which will allow people from around the world to join up, talk about and take action on the issue of climate change.
Witness an epic battle of Those WIth Strange Last Names Who Write Web Frameworks
A very good and fair comparison of Django and TurboGears
This is the type of thing people are compelled to write when they don't have a working automatic web admin :)
Is there a market for paid Django apps?
Are you looking for an awesome web development gig? Then you should come work for me at Revsys. We’re hiring a full-time Python/Django developer.
The second part in my series about building a build farm for Django with Buildbot. Starting in this part I’ll be looking at some actual code.
Part 1 in my series on a complex Buildbot setup. This time: some background.
Frank and I held our first “office hours” last week; the transcript is now available.
Next month I’ll be teaching two new one-day classes, both of which evolved from common questions we get here at Revsys. Each class is going to be offered twice, once in LA and once in Boston.
Since 1.0, Django’s supported model inheritance. It’s a neat feature, and can go a long way towards increasing flexibility in your modeling options. However, model inheritance also offers a really excellent opportunity to shoot yourself in the foot: concrete (multi-table) inheritance.
On Twitter, I asked, “what’s your favorite third-party Django app?” Eight hours later, I’ve got about 50 replies. Let’s take a look.
Backwards compatibility is a pain sometimes.
Every large project has ‘em. Doesn’t make it any nicer.
I had the pleasure of being on a forms panel at PyCon 2010 chaired by Brandon Craig Rhodes. To get a stable baseline, Brandon asked each of us to provide code showing how each forms toolkit might tackle a common forms problem: dynamic forms. Here’s my solution for Django.
If you really want to produce great documentation, it needs to be edited.
How to develop a great technical writing style.
Tech docs can take a bunch of different forms ranging from high-level overviews, to step-by-step walkthroughs, to auto-generated API documentation. Unfortunately, no single format works for all users; there’s huge differences in the way that people learn, so a well-documented project needs to provide many different forms of documentation. This is the first in a series of posts that’ll cover the art of writing good technical documentation.
In March of 2007, I attempted to measure the size of Django’s community. That March turned out to be a major inflection point in Django’s growth: the release of 0.96 brought a lot of new features — testing and the new forms library being the critical ones — and those in turn brought in a lot of new users. Growth since then has been at a much faster pace. Today I thought it’d be interesting to review the same metrics I used back then. I was quite curious to see what’s changed, and by how much.
The web development community owes Rails and the Rails community a debt of gratitude. I think we should all step back from our personal preferences and plainly say thank you, Rails, for all that you’ve done to move the state of web development forward.
What’d you do the day you started your job? Got your commit access to the company’s source control, right? Wait, what?
Last week, I wrote on Twitter that “closed-source software gets worse with each release (Microsoft, Adobe, …). Open-source software gets better (OOo, Ubuntu, …).” Here’s where I try to expand on that quip.
My friends and former co-workers at Whiskey Media are looking for a developer to join their team.
I’m teaching a Django “Master Class” in Washington, DC on October 16, 2009.
In which copyright law makes collaborating on open source code more difficult than it should be.
The history and future of Python web development. A talk given at PyCon Argentina and PyCon Brazil, 2009.
Remember: today’s the last day to sign up at early-bird pricing for my week-long Django course in Kansas City. You can save $500 if you sign up now.
An overview of how Django handles authentication via sessions.
Need an experienced Python/Django developer? A good friend of mine needs a new gig.
I got a lot of great feedback on my buildout tutorial I posted last week. In general, the comments there have some excellent tips, tricks, and extra pointer, so check ‘em out. After reading the comments and a few more I got over email, I thought I’d share a selected grab-bag of updates, hints, and details for those fooling around with Buildout and Django.
Over the weekend I put together django-shorturls, the latest in a series of small plugable Django apps I’ve written. This time, though, I used zc.buildout and djangorecipe to build, test, package, and distribute the app, and (with the exception of a few annoyances) it’s an exceedingly civilized way to develop an app.
The main part of getting Django working on alternate Python VMs was fixing the various assumptions we made about implementation details of Python.
Starting today I’m joining Frank Wiles — a good friend and fellow Lawrencian — at his consulting firm, Revolution Systems, LLC. I’m really excited to be working with Frank: he’s a great guy, and a crazy-smart developer and sysadmin.
Since it comes up a lot, I thought I’d spend a bit of time writing up my thoughts on what“django.contrib“ really is, and what including a package in it really means. In a nutshell, django.contrib contains optional, de facto standard implementations of common patterns.
There are some great roundups of the content at PyCon out there; this isn’t one of them. See, I have this notebook (Moleskine FTW!) I carry with me everywhere, and now it’s chock-full of note from PyCon; this is a braindump.
A few words about salt.
I’ve always thought that the sign of a healthy Open Source project is a vibrant ecosystem around that project. That’s why I’ve been thrilled to see that there are a bunch of cool third-party Django add-ons popping up. I thought I’d take a few minutes and give a shout out to some of my favorites.
I’m extremely excited to announce our new internship program here in Lawrence. Starting this summer we’re going to be hiring interns to join our kick-ass team and learn the ropes.
So here’s a question I get asked a lot: “How big is Django’s community?” Read on to see me fail to answer this question.
Want a job? We’re hiring a sysadmin.
If Guido gets to Pronounce, I do, too.
Lately a large number of questions posted to django-users have included phrases like “this is a show-stopper” or “this is critical”. I think it’s worth my time to point out that this is a lousy method of getting developers to do what you want. It’s the online equivalent of threatening to take your ball and go home, and is about as effective.
Here, then, some advice on the right ways to get your pet bug fixed quickly.
I got Dugg, I got reddited, and all I got was this lousy t-shirt.
Warning: This post contains profanity. Read on at your own risk.
I just found this in my django-ego-feed: 23 excuses: Simple Django View for Dynamic Text Replacement
I’ve been using something similar to generate the titles for the site (look at the title above for an example), so I’m pretty familiar with the technique.
Andrew’s code over there is pretty good, but I’ve got a few improvements he and you might be interested in.
I’m about to print up some Django shirts to take to OSCON next month — got any ideas?
Some Django propaganda to keep us rolling on…
If you live in the Bay Area or will be in Palo Alto on April 27th, I want to buy you dinner.
Here’s some links to the Django stuff I showed off at Pycon.
Here’s a simple class for a template tag that caches its output (with apologies to Chris Parnell and Andy Samberg).
Inspired by Guido van Rossum’s plea to be taught web frameworks here are (in no particular order) ten reasons why he — and you — should use Django.
After hearing some rave reviews of Dojo on django-dev, I finally got around to checking it out today. Here are my thoughts (with an obvious focus towards) using Dojo with Django).
Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance.
Besides the Django developer position I posted about yesterday, we’re also hiring a front-end web developer.
Want to work for the most innovative news organization in the country, if not the world? Want to join a team of the best and brightest online media developers? Want to get paid to create award-winning web sites?
Well, have I got the job for you: World Online is looking for a kick-ass web developer to join our team.
One of the questions asked at Snakes & Rubies was about what Django could learn from Rails (and vice versa). Once I finish wrestling Final Cut Pro to the ground you’ll be able to see how Adrian and David answered the question, but in the meantime it got me thinking about some cool features of Rails that are worth ripping off… er… being inspired by.
As I was going over some notes on our internal wiki, I ran across a list of rejected names for the framework that become Django.