I’ve been playing around with Django for the last couple of days for a project that I’ve had in mind for a little while. So far its been going quite well and I thought I had better import the project into Subversion. When you run the webserver that comes with Django, it compiles the project files and stores them as .pyc files inside your project directory. Obviously you don’t want these in your Subversion repository. The way to deal with this is to run this command on each folder where you want the files to be ignored:
svn propset svn:ignore "*.pyc" <directory>
Subversion will then ignore any .pyc files that are created while you’re developing your project.