Django Static Files

2011-06-24 Thread Andrew Brookins
Sorry: posting from phones... Not always awesome. If the development server serves your static files, but Apache does not, then the problem is likely somewhere in your Apache conf or server config. -- You received this message because you are subscribed to the Google Groups "Django users"

Django Static Files

2011-06-24 Thread Andrew Brookins
If django srrvd -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/iD1QqxpokR8J. To post to this group, send email to django-users@googlegroups.com. To

Re: Unit-Testing Dilemma

2011-06-21 Thread Andrew Brookins
You don't need mocks or dependency injection in this case. Just separate the message construction code, so you can test it in isolation: # myapp.views from django.http import HttpResponse from myapp.models import CurrentState from myapp.exceptions import ApiFailureException from third_party.api

Re: Test runner fails with Django 1.2.1 and psycopg2 2.4.2

2011-06-14 Thread Andrew Brookins
Looks like there's already a ticket (my search-fu failed me): https://code.djangoproject.com/ticket/16250 Andrew -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Test runner fails with Django 1.2.1 and psycopg2 2.4.2

2011-06-14 Thread Andrew Brookins
Hey, Yesterday I started seeing test runner failures with Django 1.2.1 and psycog2 2.4.2. Here's the traceback (where [project_dir] is the path to my virtualenv): Traceback (most recent call last): File "./manage.py", line 11, in execute_manager(settings) File