Traceback (most recent call last):

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/core/handlers/base.py", line 83, in get_response
   request.path_info)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/core/urlresolvers.py", line 186, in resolve
   sub_match = pattern.resolve(new_path)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/core/urlresolvers.py", line 184, in resolve
   for pattern in self.url_patterns:

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/core/urlresolvers.py", line 208, in _get_url_patterns
   patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/core/urlresolvers.py", line 203, in _get_urlconf_module
   self._urlconf_module = import_module(self.urlconf_name)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/utils/importlib.py", line 35, in import_module
   __import__(name)

 File "/home/axiacore/webapps/atlantis/atlantis/local_apps/facturacion/urls.py", line 16, in <module>
   from atlantis.local_apps.facturacion.forms import PagoFacturaForm

 File "/home/axiacore/webapps/atlantis/atlantis/local_apps/facturacion/forms.py", line 5, in <module>
   class FacturaForm(forms.ModelForm):

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/forms/models.py", line 201, in __new__
   opts.exclude, formfield_callback)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/forms/models.py", line 165, in fields_for_model
   formfield = formfield_callback(f)

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/forms/models.py", line 183, in <lambda>
   lambda f: f.formfield())

 File "/home/axiacore/webapps/atlantis/lib/python2.5/django/db/models/fields/related.py", line 727, in formfield
   'queryset': self.rel.to._default_manager.complex_filter(

AttributeError: 'str' object has no attribute '_default_manager'


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/etc/httpd/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'es-es,es;q=0.8,en-us;q=0.5,en;q=0.3',
 'HTTP_CONNECTION': 'Keep-Alive',
 'HTTP_HOST': 'XXXXXXXXXXXXXXXXXXXXX',
 'HTTP_MAX_FORWARDS': '10',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10',
 'HTTP_X_FORWARDED_FOR': 'XXXXXXXXXXXXXXXX',
 'HTTP_X_FORWARDED_HOST': 'XXXXXXXXXXXXXXX',
 'HTTP_X_FORWARDED_SERVER': 'XXXXXXXXXXXXXXX',
 'PATH': '/usr/bin:/bin',
 'PATH_INFO': u'/facturacion/agregar/',
 'PATH_TRANSLATED': '/home/axiacore/webapps/atlantis/atlantis.wsgi/facturacion/agregar/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '43409',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/facturacion/agregar/',
 'SCRIPT_FILENAME': '/home/axiacore/webapps/atlantis/atlantis.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '127.0.0.1',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_NAME': 'XXXXXXXXXXXX',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
 'SERVER_SOFTWARE': 'Apache/2.2.3 (CentOS) mod_wsgi/2.0 Python/2.5.1',
 'mod_wsgi.application_group': 'web45.webfaction.com|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '3260',
 'mod_wsgi.process_group': '',
 'mod_wsgi.reload_mechanism': '0',
 'mod_wsgi.script_reloading': '1',
 'wsgi.errors': <mod_wsgi.Log object at 0xb7e92f08>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb7f35920>,
 'wsgi.input': <mod_wsgi.Input object at 0xb7e383b8>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>