What's new in Django community blogs?

Local settings in Django

Mar 15 2007 [Archived Version] □ Published at Occasionally sane under tags  django

We had a small problem with Django at work: my co-worker and I each use our own VMware machines to develop our Django applications. As such, we don’t have the same pathnames and/or database settings. We dealt with this situation … Continue reading


Django’s admin media files and Apache

Mar 13 2007 [Archived Version] □ Published at Occasionally sane under tags  django

This is mostly a post to remind me how I fixed the problem where the Django admin interfaces media files were not loaded by Apache. My solution was to symlink /usr/lib/python2.4/site-packages/django/contrib/admin/media into <path to my project>/media/admin/ and set the ADMIN_MEDIA_PREFX … Continue reading


Django’s admin media files and Apache

Mar 13 2007 [Archived Version] □ Published at Occasionally sane under tags  django

This is mostly a post to remind me how I fixed the problem where the Django admin interfaces media files were not loaded by Apache. My solution was to symlink /usr/lib/python2.4/site-packages/django/contrib/admin/media into <path to my project>/media/admin/ and set the ADMIN_MEDIA_PREFX … Continue reading


Notice Anything?

Mar 09 2007 [Archived Version] □ Published at Eric Florenzano's Blog

Notice Anything?

Mar 09, 2007

So I've yet again redesigned the site. This was not a backend redesign, but rather an aesthetic redesign consisting of mostly changing the CSS. The other change that was made was that now I am deploying via subversion checkout. I do my changes on my local copy, and then I commit those changes to subversion, and finally I do a checkout from the server's SVN. This makes it much easier to deploy in general, and I will see how this ease continues into the future.

I'd like to work on all of the project ideas that I've got, but it seems like every time I get a free moment, it gets snapped up by something else. For example, I thought that I would have some time to set up the secret santa site for my family finally, but then I realized that the database backend to this website is going to change a bit in the next few days and if I send everyone links to the secret santa stuff now then they won't be able to access it in the near future. That's why I've got to do the database transition to postgresql during spring break and then I can get the secret santa information sent out.

I'd also like to work on my Django API idea, and I have a rough implementation figured out. But it's not as robust as I'd like it to be before I release it to the public, and I'll actually have to do a little hacking on Django's source itself so that I can serialize some meta-information about models themselves, and not just instances of models which are supported right now.

But unfortunately right now I've got to do some learning of Perl, although in a way that kind of excites me. (Sometimes I just get the itch to try something completely different, and that's happening now for sure.) I'll need to invent some kind of pet project to help learn Perl for the future.

Blah, there's a bunch more personal stuff to write about, and frustrating professional stuff as well, but nobody that reads this (e.g. nobody) wants to hear about my personal stuff nor be frustrated by the professional stuff.

Despite all there, I'm excited for what this summer holds in store for me. No matter what happens, it'll be a new and exciting experience and I cannot wait to see what does end up happening.

Until next time!


django REST redux

Mar 08 2007 [Archived Version] □ Published at stonemind consulting under tags  django rest talk nerdy to me

This is the third post in a series exploring how to create a basic tagging application, and how to do so in the Django framework so that I may better understand Django as well as other technologies and development approaches that are at least somewhat new to me. This time, I want to revisit REST, and hopefully come up with something more usable from the last post.


toward a RESTful approach to Django applications

Mar 01 2007 [Archived Version] □ Published at stonemind consulting under tags  django rest talk nerdy to me

If you've read my blog in the past, and you probably haven't, you'll know that I have been trying earnestly to understand how to effectively apply REST, both in Web applications and Web Services. I also believe that you can't claim to know something, and judge it fairly, until you have used it in a significant project. That is what I intend to begin in this post.


Post-Pycon Thoughts

Feb 26 2007 [Archived Version] □ Published at Eric Florenzano's Blog

Post-Pycon Thoughts

Feb 26, 2007

On the plane ride back from PyCon today, right before getting all excited about a new code idea, I sat there reflecting about PyCon and about all of the things that I remembered.

I remembered feeling like a saturated sponge, soaking up all the knowledge that was possible from all of the amazing people who I met. I remembered Macs and Ubuntu, and the sea of laptops on which they were operating. I remember the panels and discussions, where insight into the development process was shared. And I remembered every night getting back to the hotel room, crashing down into the bed, and being blissfully exhausted.

PyCon brought me to a new place with open source software. Before going, I knew that I wanted to help, in an abstract sort of way. But I wasn't really motivated until I saw the type of creative thinking that was going on. It must be that creative thinking is infectious, because new ideas have been popping into my head ever since the convention. It would be great to take a month or two and just brainstorm and program and implement all of the things that I'd like to do, without having to worry about where I can slot in that coding time.

Very interesting, as well, was how non-age-discriminating everyone was. I was expecting to be looked down upon since I'm only 20, but even in the van on the way to the hotel, I was asked if I was giving a speech. Next year, maybe!

Things that I'm excited for in the upcoming weeks and months: databrowse (will be huge in the Django community), hot club of france (vital for the community aspect of Django), Python 3000, Hopefully an array interface built directly into python (thanks NumPy guys!), and finally my own new brainchild: autoapi. I'm not fully ready to talk about it, but it is a mechanism triggered similarly to Django's admin interface, which provides automatically a publicly accessible api for your app.

Also, the DjangoForge app is in Alpha stage, currently attached to www.flosblog.com. I don't know what will happen from here, however. Comments on the app ranged from "Hmm" to "Ooh!" but mostly "Hmm"s. It didn't feel great to have people be so unenthusiastic about my work, but that just means that it's not good enough. Also since it's a community project, it really should have been a community effort (which the hot club of france will be, hopefully). In all, it was as good of a learning tool as anything else could be, and possibly something to put on a resume.

So in all: Excellent! I met so many new people and learned so many great things. I wish that I could have split up and attended multiple talks and BoFs and lectures all at the same time! After having only worked with this technology for 6 months, I can't imagine anything having a greater impact on my aspirations than what this community has done to them.

Posted in:


PyCon 2007 pictures

Feb 24 2007 [Archived Version] □ Published at Eugene's Blog

I published first day pictures from PyCon 2007. They are raw, unedited, I didn’t put descriptions yet. You can recognize Django guys, people from multiple Python web frameworks, and, of course, the BDFL with OLPC. But why wait for pictures to be prepped? Dig in while they are raw and fresh:

Steve Holden in Django t-shirt

Yes, this is Steve Holden sporting a Django t-shirt.

Update: I added pictures from the 2nd day.

Update #2: I added pictures from the 3rd day. Now I can go and put some names and descriptions like I did last year.


I'm at PyCon

Feb 22 2007 [Archived Version] □ Published at Eric Florenzano's Blog

I'm at PyCon

Feb 22, 2007

I'm, right now, sitting in the advanced Django tutorial at PyCon. How cool is that?

Posted in:


PyCon Plans

Feb 21 2007 [Archived Version] □ Published at Eric Florenzano's Blog

PyCon Plans

Feb 21, 2007

I've never been to PyCon before, nor any other conference for that matter, but I'm leaving tomorrow and so I've come up with a list of talks that I plan on attending. This is preliminary, obviously, but for now this is my plan:

Tutorial Day (Thursday):

  • Advanced Django Tutorial in Addison
  • Attendee Bag Stuffing by Volunteers in Bent Tree I

Friday:

  • Plenary: Chair's Opening Remarks - Ballrooms A-E and F-J
  • Plenary: Keynote 1 - Ivan Krsti? - Ballrooms A-E and F-J
  • Writing Your Own Python Types in C (#95) - Ballrooms F-J
  • Writing a Python Extension module in C++ using Swig (#45) - Ballrooms F-J
  • Using Stackless (#76) - Ballrooms F-J
  • Lunch & Plenary: Sponsor Lightning Talks (Fri) (Probably Django BoF)- Ballrooms A-E and F-J
  • Python inside Imageworks (#2) - Ballrooms A-E
  • pyweek: making games in 7 days (#32) - Ballrooms F-J
  • Python for Visual Effects and Animation Pipelines: A Case Study of Tippett Studio's JET (#86) - Ballrooms A-E
  • Break w/o Snacks (Room Divider Change)
  • Plenary: Lightning Talks (Fri PM) - Ballrooms A-E and F-J
  • Python Lab: Solve This! - Ballrooms F-J

Saturday:

  • Plenary: Keynote 2 - Adele Goldberg - Ballrooms A-E and F-J
  • SQLAlchemy -- the Front-to-Back database toolkit (#47) - Ballrooms A-E
  • Understanding and Using NumPy (#52) - Ballrooms F-J
  • Lunch & Plenary: Keynote 3 - Guido van Rossum - Ballrooms A-E and F-J
  • Becoming an Open Source Developer: Lessons from the Django Project (#20) - Mesquite
  • The Absolute Minimum an Open Source Developer Must Know About Intellectual Property (#25) - Mesquite
  • Dateutil to the Rescue! (#88) - Ballrooms A-E
  • Break w/ Snacks - All Ballrooms
  • Interactive Parallel and Distributed Computing with IPython (#50) - Ballrooms A-E
  • Why and when to use ctypes? (#51) - Ballrooms A-E
  • Break w/o Snacks (Prep for Lightning + Room Divider Change) - All Ballrooms
  • Plenary: Lightning Talks (Sat PM) - Ballrooms A-E and F-J
  • Dinner Break - All Ballrooms
  • Hands-On with the One-Laptop-per-Child - Mesquite
  • The Advocacy of Python - Community Discussion - Mesquite

So there it is, and I'm looking forward to seeing all of these interesting talks!

Posted in:


Building a manageable jumpstart infrastructure using the Solaris Security Toolkit

Feb 19 2007 [Archived Version] □ Published at Wad of Stuff under tags  buildbot django flash archive infrastructure jass

Luke Kanies has been stirring the hornet's nest lately about why system administration isn't evolving despite the huge growth in the development communities around the applications we manage and use every day. The tools system administrators use get nowhere near the attention, if any, that the applications do. Nor do system administrators often publish the tools they use because they feel they


Implementing Tagging in a Django Application

Feb 16 2007 [Archived Version] □ Published at stonemind consulting under tags  ajax django mysql orm python

Although I've used many Web based applications that employ tagging, I've yet to create an application of my own with this feature. But now, I have two potential projects on the horizon that could benefit from tagging, and I'm thinking about how to best implement this, both in the database and user interface layers. So, I thought I would explore how to implement tagging in my own applications, from scratch, and write about them on this blog. Therefore, I won't pretend I have all the answers--or even necessarily any good answers--but I will simply be trying to think through how to approach implementing tagging, and I will welcome any constructive feedback on those thoughts.


The power of Zero

Feb 15 2007 [Archived Version] □ Published at Glenn Fanxman

So I've been on this minimalism kick for a couple weeks. Basically applying a "less is more" philospophy to software. This time I'm building a site that has no content of its own, no network configuration of its own, no database, etc. I'm trying to build it completely out of reusable components that themselves use sensible defaults allowing for zero-configuration deployments with the flexibility to allow them to be controlled in cases requiring advanced control. You can see it at homes.knoxzilla.com. In fact you can see it at anything.knoxzilla.com,too. You can use any word you like and add .knoxzilla.com to the end and get the site. Behind the scenes it will use your word to fetch headlines from knoxnews.com. Business listings and photos come from within a 15 mile radius of the 37922 zipcode. I built it all using django and yahoo APIs. The latin text is random and supplied via a nice library I'm building called mockup and loremipsum. The components I'm building allow me do things as simple as {% loremipsum %} and poof -- you get one to six random passages from Cicero's De finibus bonorum et malorum, "On the ends of the good and the evil." There's a lot of history tied to that text and the world of print that has made its way into online culture 2052 years later. Images are now as simple as {% yahoo_images query="knoxville",hostname %} and headlines come via {% yahoo_local query=hostname site="knoxnews.com" %}. Business listings come compliments of {% yahoo_local query=hostname radius="15" zip="37922" %}. Add in some clever templating and css to handle their default output and viola! After I clean up some of the some of the code to where I like it, I plan on making the layout more theme-able to work like the css zen garden on steriods. I'm not much of a graphic designer, so I'm lifting the look and feel from other sources like oswd.org. After that, perhaps I'll look at mochikit or jquery as ways to add prev/next/more functionality to the widgets so all of this information can be browsed from the context of that page without require complete refreshes. As it stands, that was one night's work and it is running on a machine with only 256 MB of ram. How's that for minimalist? Given that I find writing code easier than writing english, by the time I publish this entry, I will likely have spent more time describing the site than it took to build it. UPDATE: Where this seems to be working really well is host names like:
Post to Del.icio.us


A Poem Crossed My Mind

Feb 14 2007 [Archived Version] □ Published at Eric Florenzano's Blog

A Poem Crossed My Mind

Feb 14, 2007

A glimmer of tomorrow tugs mercilessly on the fabric of tonight.

Posted in:


Yet Another Project

Feb 14 2007 [Archived Version] □ Published at Eric Florenzano's Blog

Yet Another Project

Feb 14, 2007

Well a few things have happened over the past few months. Firstly, I have failed again in keeping this blog up to date. Hopefully this post will be cathartic and I'll enjoy writing it so much that I will begin to post more often. Secondly, I have been busy with new classes, Algorithms and Programming Languages being the most interesting of the bunch. Thirdly, I have registered for PyCon! Fourthly, and this is more recent, I've been working on a Django-related project which, until now, has been secret.

I have been working on a DjangoForge application. It is not ready for release yet by any means, but it is at the point where I know I'll continue working on it until it's completed. Right now, the Model classes are all created, and almost all of the public interface views. Now all that's left is templating and CSS. It's a well-known fact that you should do the hardest things first.

In this case, I should have done the templating and CSS first, since website DESIGN is so hard for me. However, I have not followed the conventional wisdom, and am now paying for it with my design unskillfulness. In any case, I am really grinding on this with every spare moment, in the hopes that when PyCon comes around, I'll at least have a prototype to show a few people.

Also, if you're wondering when Part II of the gallery application is coming: I don't know. I was developing that gallery application for my brother's band website, and recently the creation of that website has gone down on his priority list. That means that it has gone down on my priority list too, especially with PyCon coming up and all of the work on DjangoForge.

If you read this and have any ideas on functionality that DjangoForge should have, or on anything else, just leave a comment and I'll get back to it as soon as I can.


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 &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 validation 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