seanhayes.name
5 Ways to Speed Up Your Django Tests | Seán Hayes
http://seanhayes.name/2012/11/28/ways-speed-django-tests
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). 5 Ways to Speed Up Your Django Tests. If you use Test Driven Development or test your code regularly during development, running your test suite can start to become very time consuming. Here’s some tips for speeding up your tests. All of these changes can go in a test settings.py file, which your can import into your settings.py file only when a test is being run. I’ve written about this before. Use an In-Memory Storage Class. Starti...
seanhayes.name
deserialization | Seán Hayes
http://seanhayes.name/tag/deserialization
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Returning the Correct HTTP Status Code in TastyPie: 400 Bad Request. Another problem I’ve encountered with TastyPie is that a 500 Internal Server error is thrown when the user sends bad input. One of my clients was using hurl.it. This entry was posted in Web Design and Development. Monday, July 16, 2012. Proudly powered by WordPress. Send to Email Address. Post was not sent - check your email addresses!
seanhayes.name
Using a Test Database in Django | Seán Hayes
http://seanhayes.name/2010/01/09/test-database-django
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Using a Test Database in Django. At Govnex we’re using MySQL on our development machines. It has several advantages, but one of the drawbacks is unittests run slower when not using Sqlite. Big ups to MockSoul for posting his benchmarks). The reason for this is when running unittests in Django with a Sqlite database, the database is run in memory (RAM) instead of being written to the disk. Hope this helps you save some time testing.
seanhayes.name
tastypie | Seán Hayes
http://seanhayes.name/tag/tastypie
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Returning the Correct HTTP Status Code in TastyPie: 400 Bad Request. Another problem I’ve encountered with TastyPie is that a 500 Internal Server error is thrown when the user sends bad input. One of my clients was using hurl.it. This entry was posted in Web Design and Development. Monday, July 16, 2012. Returning the Correct HTTP Status Code in TastyPie: 401 Unauthorized. This entry was posted in Web Design and Development. Email ch...
seanhayes.name
api | Seán Hayes
http://seanhayes.name/tag/api
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Returning the Correct HTTP Status Code in TastyPie: 400 Bad Request. Another problem I’ve encountered with TastyPie is that a 500 Internal Server error is thrown when the user sends bad input. One of my clients was using hurl.it. This entry was posted in Web Design and Development. Monday, July 16, 2012. Returning the Correct HTTP Status Code in TastyPie: 401 Unauthorized. This entry was posted in Web Design and Development. Email ch...
seanhayes.name
tdd | Seán Hayes
http://seanhayes.name/tag/tdd
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). 5 Ways to Speed Up Your Django Tests. If you use Test Driven Development or test your code regularly during development, running your test suite can start to become very time consuming. Here’s some tips for speeding up your tests. All of these changes can go in a test settings.py file, which your can import into your settings.py file only when a test is being run. I’ve written about this before. Use an In-Memory Storage Class. Starti...
seanhayes.name
fancybox | Seán Hayes
http://seanhayes.name/tag/fancybox
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Stop Flash Content From Overlapping Fancybox. On web pages that contain embedded Flash content where you’re also using the jQuery Fancybox plugin, you can change the CSS visibility property to ‘hidden’ on the Flash content. Here’s a quick snippet I used to hide iframes from Youtube:. This entry was posted in Web Design and Development. Friday, July 6, 2012. Proudly powered by WordPress. Send to Email Address.
seanhayes.name
Stop Flash Content From Overlapping Fancybox | Seán Hayes
http://seanhayes.name/2012/07/06/stop-flash-content-overlapping
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). Stop Flash Content From Overlapping Fancybox. On web pages that contain embedded Flash content where you’re also using the jQuery Fancybox plugin, you can change the CSS visibility property to ‘hidden’ on the Flash content. Here’s a quick snippet I used to hide iframes from Youtube:. This entry was posted in Web Design and Development. Friday, July 6, 2012. Awesome Web App, Codecademy, Teaches You to Program. You must log in.
seanhayes.name
testing | Seán Hayes
http://seanhayes.name/tag/testing
Seán (Sean) Hayes, Web Developer in Rochester, NY (Django, JavaScript). 5 Ways to Speed Up Your Django Tests. If you use Test Driven Development or test your code regularly during development, running your test suite can start to become very time consuming. Here’s some tips for speeding up your tests. All of these changes can go in a test settings.py file, which your can import into your settings.py file only when a test is being run. I’ve written about this before. Use an In-Memory Storage Class. Starti...