Entries in 'Django'
How To Give Text An Inner Shadow With Css
On: Sun, May 13, 2012 By: Travis Millward In: Django , Web , Web Development
This is how I did it...
Posted in: Django , Web , Web Development
How To Filter A Django Form's Multiple Choice Or Foreign Key Set With A Generic View
On: Sat, April 14, 2012 By: Travis Millward In: Django , Python , Web Development
On an app I am working on I needed to relate a photo to a project. I created a model called Connection. It basically has two fields. "Photo" and "Project". They are both foreign keys back to the Photo and Project models. Well I ran into a problem. I wanted to be able to say okay associate photo A with project B. I could do ... Read more»
Posted in: Django , Python , Web Development
How To Make A Website Mobile Friendly And Responsive
On: Fri, March 30, 2012 By: Travis Millward In: Apple , Django , OS X , Web , Web Development , Web Usability
This is how to make your website mobile friendly and what is known as responsive. Also known as Responsive Web Design. Read more»
Posted in: Apple , Django , OS X , Web , Web Development , Web Usability
How To Get The Next And Previous Object From A List Of Objects Or Queryset
On: Fri, March 23, 2012 By: Travis Millward In: Django , Python
With django's help, I made a photo app. Each photo can belong to multiple Projects. I can get a list of photos for a Project and display their thumbnails. When I click on a thumbnail it pops up the large version of the photo in a nice div on the screen. I wanted to be able to click "next" or "previous" and get the next or previous photo in the project, and not the next or previous photo from the entire list of photos that is returned by my manager. Read more»
Django Dumpdata To Fixture For Initial Data
On: Thu, April 22, 2010 By: Chris Robison In: Django
A useful command for dumping database data to a data serialization format that I always seem to forget... Read more»
Posted in: Django