AttributeError: 'module' object has no attribute '_handlerList'

2013-10-13 Thread Darion Yaphet
Hi all : when I use django-admin.py to init django project django-admin.py startproject hello Got a exception .. AttributeError: 'module' object has no attribute '_handlerList' what is it -- You received this message because you are subscribed to the Google G

AttributeError: '__proxy__' object has no attribute 'decode'

2013-08-13 Thread abhijeet shete
HttpResponseRedirect with reverse_lazy as first argument where reverse_lazy takes named_url as first argument. These functions was working fine before porting with django 1.4.3 and python 2.7 but now I am getting *AttributeError* after porting to python 3. My view function is : * * *HOME_URL = reverse_lazy

Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Pratik Mandrekar
to fix it. Thanks, Pratik On Tuesday, July 2, 2013 4:53:09 PM UTC+5:30, Tom Evans wrote: > > On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar > > wrote: > > > > Hello, > > > > > > I keep getting the error AttributeError: 'RegexURLResolver'

Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Tom Evans
On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar wrote: > > Hello, > > > I keep getting the error AttributeError: 'RegexURLResolver' object has no > attribute '_urlconf_module' and the only trace available is as shown below: > > 'RegexURLResolver&

AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Pratik Mandrekar
Hello, I keep getting the error *AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module' *and the only trace available is as shown below: 'RegexURLResolver' object has no attribute '_urlconf_module' My Sentry Error reporting n

AttributeError: 'AlumniResponseFormFormSet' object has no attribute 'new_objects'

2013-04-29 Thread Brian Dant
f, request, form, formsets, change)<https://docs.djangoproject.com/en/1.5/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_related> method that Django provides. When I try to save something, I get an error: AttributeError: 'AlumniResponseFormFormSet' object has no attribute 

Re: Getting an AttributeError while creating a Django project

2013-04-10 Thread ak
Please try to use the *traceback* option: >>> python django-admin.py startproject mysite --traceback Maybe we will get some additional info... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: Getting an AttributeError while creating a Django project

2013-04-09 Thread Rafael E. Ferrero
day, March 27, 2013 7:12:05 PM UTC+2, Tom Evans wrote: >>> >>>> On Wed, Mar 27, 2013 at 4:39 PM, Olga Zasenko >>>> wrote: >>>> > Hi, everybody! >>>> > I'm following the instructions on website docs.djangoproject.com and >

Re: Getting an AttributeError while creating a Django project

2013-04-09 Thread Olga Zasenko
t;> On Wednesday, March 27, 2013 7:12:05 PM UTC+2, Tom Evans wrote: >> >>> On Wed, Mar 27, 2013 at 4:39 PM, Olga Zasenko >>> wrote: >>> > Hi, everybody! >>> > I'm following the instructions on website docs.djangoproject.com and >>&g

Re: Getting an AttributeError while creating a Django project

2013-04-08 Thread Rafael E. Ferrero
Wed, Mar 27, 2013 at 4:39 PM, Olga Zasenko >> wrote: >> > Hi, everybody! >> > I'm following the instructions on website docs.djangoproject.com and >> trying >> > to create my very first Django project. >> > The only result I get is a confusi

Re: Getting an AttributeError while creating a Django project

2013-04-05 Thread Olga Zasenko
ons on website docs.djangoproject.com and > trying > > to create my very first Django project. > > The only result I get is a confusing error: > > > > AttributeError: 'module' object has no attribute '_handlerList'. > > > > My Django

Re: Getting an AttributeError while creating a Django project

2013-04-05 Thread Olga Zasenko
t; > to create my very first Django project. > > The only result I get is a confusing error: > > > > AttributeError: 'module' object has no attribute '_handlerList'. > > > > My Django version is 1.5, Python - 2.7.3. > > I compl

Re: Getting an AttributeError while creating a Django project

2013-03-27 Thread Tom Evans
On Wed, Mar 27, 2013 at 4:39 PM, Olga Zasenko wrote: > Hi, everybody! > I'm following the instructions on website docs.djangoproject.com and trying > to create my very first Django project. > The only result I get is a confusing error: > > AttributeError: 'mod

Getting an AttributeError while creating a Django project

2013-03-27 Thread Olga Zasenko
Hi, everybody! I'm following the instructions on website docs.djangoproject.com and trying to create my very first Django project. The only result I get is a confusing error: AttributeError: 'module' object has no attribute '_handlerList'. My Django version is 1.5, Pyt

Re: 【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-18 Thread Thomas Orozco
Haha indeed, silly me! Well I think that's the error cause then : the urls property apparently didn't exist in Django 1.0! Cheers, Thomas On Dec 18, 2012 3:14 PM, "Ramiro Morales" wrote: > On Tue, Dec 18, 2012 at 10:12 AM, Thomas Orozco wrote: > > What version of django are you using? > > > >

Re: 【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-18 Thread Ramiro Morales
On Tue, Dec 18, 2012 at 10:12 AM, Thomas Orozco wrote: > What version of django are you using? > > admin.site.urls was introducd four years ago > (https://github.com/django/django/commit/1f84630c87f8032b0167e6db41acaf50ab710879), > but maybe you're running an older version? On Fri, Dec 14, 2012 a

Re: 【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-18 Thread vinoth kumar renganathan
1 . check whether u imported url in the file mysite/urls.py 2.make sure that you added url before the command(r'^admin/', include(admin.site.urls)) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: 【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-18 Thread Thomas Orozco
; in resolve > 181. for pattern in self.urlconf_module.urlpatterns: > File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" > in _get_urlconf_module > 205. self._urlconf_module = __import__(self.urlconf_name, > {}, {}, ['']) >

【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-15 Thread 向浩
terns: File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in _get_urlconf_module 205. self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) File "/home/xhao/djcode/mysite/../mysite/urls.py" in 16. (r'^admin/', in

Re: AttributeError on _strptime_time

2012-12-14 Thread code2live
s/__init__.py", > > line 292, in get_prep_lookup > return self.get_prep_value(value) > > File > "/var/www/TorrentGuru/local-python/lib/python2.6/site-packages/django/db/models/fields/__init__.py", > > line 721, in get_prep_value > return self.to_pyt

Re: AttributeError for unique field during ModelForm validation

2012-11-11 Thread Rohit Banga
https://github.com/iamrohitbanga/django_ticket_19271/tree/code_working> >>>> >>>> Just creating my_id field in BaseModel class with unique=True set >>>> causes the code to fail with the stack trace below. >>>> My usecase is a bit weird hence

Re: AttributeError for unique field during ModelForm validation

2012-11-11 Thread Andrejus
_working >>> >>> Just creating my_id field in BaseModel class with unique=True set causes >>> the code to fail with the stack trace below. >>> My usecase is a bit weird hence you would find model form inheriting >>> from abstract models. IMHO that s

Re: AttributeError for unique field during ModelForm validation

2012-11-10 Thread Rohit Banga
d field in BaseModel class with unique=True set causes >> the code to fail with the stack trace below. >> My usecase is a bit weird hence you would find model form inheriting from >> abstract models. IMHO that should not matter. The code works without unique >> fields but d

Re: AttributeError for unique field during ModelForm validation

2012-11-10 Thread Andrejus
would find model form inheriting from > abstract models. IMHO that should not matter. The code works without unique > fields but does not work with non-unique fields. I will be happy to provide > more clarifications. > > Below is the stacktrace for the > "AttributeError at

AttributeError for unique field during ModelForm validation

2012-11-10 Thread Rohit Banga
provide more clarifications. Below is the stacktrace for the "AttributeError at /create_new type object 'BaseModel' has no attribute '_default_manager' Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_respon

Re: AttributeError on _strptime_time

2012-09-25 Thread Victor
return self.get_prep_value(value) File "/var/www/TorrentGuru/local-python/lib/python2.6/site-packages/django/db/models/fields/__init__.py", line 721, in get_prep_value return self.to_python(value) File "/var/www/TorrentGuru/local-python/lib/python2.6/site-packages/djan

Re: AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'

2012-09-07 Thread tanderegg
4, Coulson Thabo Kgathi wrote: > > AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' > > i get this error when i run the command > > $ python manage.py sqlall world > > world being the app i created for the geodjango project in the g

AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'

2012-09-07 Thread Coulson Thabo Kgathi
AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' i get this error when i run the command $ python manage.py sqlall world world being the app i created for the geodjango project in the geodjango toturial -- You received this message because you a

Re: custom management commands: AttributeError: 'module' object has no attribute 'Command'

2012-08-13 Thread Kurtis Mullins
I'd look more into the full traceback. I haven't had any trouble with underscores either. On Mon, Aug 13, 2012 at 2:31 PM, creecode wrote: > I have many custom management command names that have underscores in them. > I've never had a problem. I believe that a management command name only > ne

Re: custom management commands: AttributeError: 'module' object has no attribute 'Command'

2012-08-13 Thread creecode
I have many custom management command names that have underscores in them. I've never had a problem. I believe that a management command name only needs follow python rules for naming files. On Sunday, August 12, 2012 1:44:06 AM UTC-7, Melvyn Sopacua wrote: On 11-8-2012 2:14, Matthew Meyer wr

Re: AttributeError

2012-08-13 Thread Satinderpal Singh
On Mon, Aug 13, 2012 at 6:06 PM, Melvyn Sopacua wrote: > On 13-8-2012 14:23, Melvyn Sopacua wrote: >> On 13-8-2012 13:47, Satinderpal Singh wrote: >> >>> I got the following error while making the tables in database using >>> syncdb command: >>> >>&

Re: AttributeError

2012-08-13 Thread Melvyn Sopacua
On 13-8-2012 14:23, Melvyn Sopacua wrote: > On 13-8-2012 13:47, Satinderpal Singh wrote: > >> I got the following error while making the tables in database using >> syncdb command: >> >> AttributeError: 'DatabaseOperations' object has no attribute &#x

Re: AttributeError

2012-08-13 Thread Melvyn Sopacua
On 13-8-2012 13:47, Satinderpal Singh wrote: > I got the following error while making the tables in database using > syncdb command: > > AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' > > I recently install GEOS library and imp

AttributeError

2012-08-13 Thread Satinderpal Singh
Hi, I got the following error while making the tables in database using syncdb command: AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' I recently install GEOS library and import it to my model.py file. Any help will be appreciated, thanks in advan

Re: custom management commands: AttributeError: 'module' object has no attribute 'Command'

2012-08-12 Thread Melvyn Sopacua
On 11-8-2012 2:14, Matthew Meyer wrote: > The command I am running is : > > $ python manage.py event_expiration > > I've made sure I am adding the event_expiration.py file within management > and commands folders and that those folders have init files. those are in > one of my app folders. >

custom management commands: AttributeError: 'module' object has no attribute 'Command'

2012-08-10 Thread Matthew Meyer
I am trying to make a custom management command as show in the docs here: https://docs.djangoproject.com/en/dev/howto/custom-management-commands/ When I try to run the command from my project directory I am experiencing the following error: AttributeError: 'module' object has no

Re: AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate'

2012-04-07 Thread laurence Turpin
to localhost:8000/admin/ I get the option to add and Entry. > > I can select this option fill out sample data, but when I try to save > it. > > I get the following error. > > > > AttributeError at /admin/coltrane/entry/add/ > > > > 'Entry' object has no attr

Re: AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate'

2012-04-04 Thread akaariai
elds used to > Enter a weblog entry. > When I go to localhost:8000/admin/    I get the option to add and Entry. > I can select this option fill out sample data, but when I try to save it. > I get the following error. > > AttributeError at /admin/coltrane/entry/add/ > > '

AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate'

2012-04-03 Thread laurence Turpin
e data, but when I try to save it. I get the following error. AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate' There is a field called pub_date in Entry It's as if I have made a typing error somewhere and typed pubdate inste

Intermittent AttributeError

2012-03-03 Thread Nikolas Stevenson-Molnar
ot;, line 48, in class Field(object): File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 418, in Field def formfield(self, form_class=forms.CharField, **kwargs): AttributeError: 'module' object has no attribute 'CharField' -- Y

AttributeError: 'module' object has no attribute '_handlerList'

2012-01-27 Thread MURUGESAN
figClass(config).configure() File "C:\Program Files\Python24\lib\site-packages\django\utils \dictconfig.py", line 321, in configure del logging._handlerList[:] AttributeError: 'module' object has no attribute '_handlerList' Thanks in Advance Murugesan

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Branton Davis
effectively if you included the > stack > > trace that goes with the exception. > > > > Karen > > --http://tracey.org/kmt/ > > The stack trace for the error is: > > ERROR Caught AttributeError while rendering: 'User' object has no > attribute '

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Branton Davis
On Tue, Dec 20, 2011 at 11:09 PM, Divick Kishore wrote: > On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis > wrote: > > It sounds like your custom user template context variable might be > causing a > > conflict with the default if you're also using django.contrib.auth > (which is > > what the admi

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Divick Kishore
Hi Branton, On Wed, Dec 21, 2011 at 11:09 AM, Branton Davis wrote: > > That stack trace is unrelated to the other problem.  Somewhere (guessing > gifts/urls.py) you've referenced a view > at gifts.views.ajax_handle_wishinvite, which doesn't exist.  Check > gifts/views.py for a method named 'ajax_

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Divkis
On Dec 21, 7:05 am, Karen Tracey wrote: > People would be able to help you more effectively if you included the stack > trace that goes with the exception. > > Karen > --http://tracey.org/kmt/ The stack trace for the error is: ERROR Caught AttributeError while rendering: '

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Divick Kishore
On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis wrote: > It sounds like your custom user template context variable might be causing a > conflict with the default if you're also using django.contrib.auth (which is > what the admin uses by default).  I'm guessing that the admin > views/templates use

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Karen Tracey
People would be able to help you more effectively if you included the stack trace that goes with the exception. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@g

TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Divkis
I get the following error when I try to access admin site. I am not sure what is causing this. I am not sure if it could be caused because one of the two reasons: 1. I have a User model in one of my apps which does not have a id as primary key. I have some other key as the primary key. 2. I have

Re: ERROR: test_14377 (django.contrib.auth.tests.views.LogoutTest), AttributeError: 'module' object has no attribute 'handler500'

2011-07-07 Thread David Markey
/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py", > line 263, in resolve500 > return self._resolve_special('500') > File > "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py", > line 253, in _resolve_

ERROR: test_14377 (django.contrib.auth.tests.views.LogoutTest), AttributeError: 'module' object has no attribute 'handler500'

2011-07-03 Thread David Markey
t;/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py", line 263, in resolve500 return self._resolve_special('500') File "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py", line 253, in

Upgrade to Django-1.3 seeing AttributeError: 'NoneType' object has no attribute '_info'

2011-04-27 Thread Bryan
I just downloaded and installed Django 1.3, I can't seem to run the console or server with this error: AttributeError: 'NoneType' object has no attribute '_inf $ python manage.py shell Traceback (most recent call last): File "manage.py", line 13, in execute_

RequestFactory: AttributeError: 'WSGIRequest' object has no attribute 'session'

2011-04-14 Thread Pickels
Hello, when testing user related logic I always run into this problem with the RequestFactory. Anybody know an elegant solution for this? At the moment I am mocking out everything that's related to sessions. -- You received this message because you are subscribed to the Google Groups "Django us

AttributeError on _strptime_time

2011-03-10 Thread Massimiliano della Rovere
The error was trapped by django-sentry and does *not* occur in python interpreter, thus I can't understand it! Please can anybody enlighten me? Here the details: Exception Type: AttributeError Exception Value: _strptime_time The error is raised by line #698 in /usr/local/lib/python2.6

Re: AttributeError at / polls / in Django Tutorial-Solved

2011-03-10 Thread Alberto Morales Fernández
On 03/10/2011 03:28 AM, delegb...@dudupay.com wrote: The spelling is what the problem is. You have typed 'objetcs' instead of 'objects'. Always study the error trace very well. Best regards. Sent from my BlackBerry wireless device from MTN Ups!!, sorry, I did not see "objects" when I wrote i

Re: AttributeError at / polls / in Django Tutorial

2011-03-10 Thread Kenneth Gonsalves
On Wed, 2011-03-09 at 15:53 -0500, Alberto Morales Fernández wrote: > 'objetcs' objects -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: AttributeError at / polls / in Django Tutorial

2011-03-10 Thread delegbede
ooglegroups.com Date: Wed, 09 Mar 2011 15:53:17 To: Reply-To: django-users@googlegroups.com Subject: AttributeError at / polls / in Django Tutorial Hi guys, I'm a rookie in django, I am doing the tutorial intro of the official URL Django, in chapter 3 but I get the following error whe

AttributeError at / polls / in Django Tutorial

2011-03-10 Thread Alberto Morales Fernández
Hi guys, I'm a rookie in django, I am doing the tutorial intro of the official URL Django, in chapter 3 but I get the following error when I access the url of my application { AttributeError at / polls / type object 'Poll' has no attribute 'objetcs' Request Meth

Re: TemplateSyntaxError at /polls/updatepath/ Caught AttributeError while rendering: 'RawQuerySet' object has no attribute 'all'

2011-02-11 Thread Ian Clelland
On Thu, Feb 10, 2011 at 9:10 AM, hank23 wrote: > So when I go to build the entries for my drop down list then I would > iterate over the query results like you suggested and at that point > where I iterate over the results then I can also set the different > select option attributes (html option t

Re: TemplateSyntaxError at /polls/updatepath/ Caught AttributeError while rendering: 'RawQuerySet' object has no attribute 'all'

2011-02-10 Thread hank23
28 AM, hank23 wrote: > > I'm trying to use raw SQL to retrieve the information that I want to > > display in a dropdown list. Here's the error that I'm getting: > > > TemplateSyntaxError at /polls/updatepath/ > > Caught AttributeError while renderin

Re: TemplateSyntaxError at /polls/updatepath/ Caught AttributeError while rendering: 'RawQuerySet' object has no attribute 'all'

2011-02-10 Thread Ian Clelland
ery_set %} On Thu, Feb 10, 2011 at 7:28 AM, hank23 wrote: > I'm trying to use raw SQL to retrieve the information that I want to > display in a dropdown list. Here's the error that I'm getting: > > TemplateSyntaxError at /polls/updatepath/ > Caught AttributeError

TemplateSyntaxError at /polls/updatepath/ Caught AttributeError while rendering: 'RawQuerySet' object has no attribute 'all'

2011-02-10 Thread hank23
I'm trying to use raw SQL to retrieve the information that I want to display in a dropdown list. Here's the error that I'm getting: TemplateSyntaxError at /polls/updatepath/ Caught AttributeError while rendering: 'RawQuerySet' object has no attribute 'all'

Re: AttributeError 'module' object has no attribute '__path'

2011-02-01 Thread Karen Tracey
On Tue, Feb 1, 2011 at 6:03 PM, gintare wrote: > AttributeError 'module' object has no attribute '__path' What is in your INSTALLED_APPS setting? This cryptic message usually means there is something in INSTALLED_APPS that is not correct. (There's a ticket r

AttributeError 'module' object has no attribute '__path'

2011-02-01 Thread gintare
and runserver c:\Python27\python c:\amber\Spokas\manage.py runserver AttributeError 'module' object has no attribute '__path' I added *.pth files to different locations to check if it works: c:\Python27\Libs\site-packages\Django c:\Python27\Libs\site-packages c:\amber c:\

Re: Help! I'm thick! First formset generating AttributeError

2010-12-08 Thread fgasperino
While I haven't worked with formsets, this line doesn't look correct: formset = ClientFormSet(request.POST, request.FILES, queryset=Client.objects.get(pk=client_id)) mainly due to a parameter named queryset being passed a model object, instead of a queryset of model objects. It would seem that yo

Help! I'm thick! First formset generating AttributeError

2010-12-08 Thread morgand
Either its age - the scotch - or some combination of both, but I am having problems with a SIMPLE formset. (its my first). On my formset I get an AttributeError - 'Client' object has no attribute 'ordered'... .but I dont have an attribute of that anywhere I tried chan

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-27 Thread marty3d
The XView middleware was the culprit. After removing that, the issues completely disappeared. For some reason it was added as default (this could have been in 1.1, I don't know), and I never used it, so it was no loss at all :) Thank you! /Martin On Nov 26, 10:59 am, Łukasz Rekucki wrote: > On 2

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-26 Thread Łukasz Rekucki
On 26 November 2010 10:35, marty3d wrote: > I have disabled cache and still getting the error. That > leaves...what? :/ > > I could really appreciate some help debugging this. On a closer look, this looks like: http://code.djangoproject.com/ticket/13842 ; But then, you must have changed something

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-26 Thread marty3d
back, callback_args, > > > callback_kwargs) > > > >  File "/home/mistalaba/.virtualenvs/production/lib/python2.5/site- > > > packages/django/middleware/doc.py", line 18, in process_view > > >   response['X-View'] = "%s.%s" % (view_fun

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-25 Thread marty3d
leware_method(request, callback, callback_args, > > callback_kwargs) > > >  File "/home/mistalaba/.virtualenvs/production/lib/python2.5/site- > > packages/django/middleware/doc.py", line 18, in process_view > >   response['X-View'] = "%s.%s" % (vie

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-25 Thread Łukasz Rekucki
"/home/mistalaba/.virtualenvs/production/lib/python2.5/site- > packages/django/middleware/doc.py", line 18, in process_view >   response['X-View'] = "%s.%s" % (view_func.__module__, > view_func.__name__) > > AttributeError: 'LatestStripsByStripConfig

Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-25 Thread marty3d
response = middleware_method(request, callback, callback_args, callback_kwargs) File "/home/mistalaba/.virtualenvs/production/lib/python2.5/site- packages/django/middleware/doc.py", line 18, in process_view response['X-View'] = "%s.%s" % (view_func.__modul

AttributeError: Model object has no attribute "attributename"

2010-11-21 Thread Jean-Pierre De Villiers
ibute=variable) for items in i_contract_item_list: new_contract.contract_items.add(items) new_contract.save() However when i run this the following error occurs and I cant seem to find the problem: AttributeError: 'Contract' object has no attribute 'contract_items' Any

AttributeError: Model object has no attribute blah

2010-11-19 Thread Jean-Pierre De Villiers
items in i_contract_item_list: new_contract.contract_items.add(items) new_contract.save() However when i run this the following error occurs and I cant seem to find the problem: AttributeError: 'Contract' object has no attribute 'contract_items' Any help would be

Trying to delete all entries results in an AttributeError

2010-10-17 Thread Jeff
Hi, I'm trying to delete all entries in a model. However, when I attempt to do so by calling `Comment.objects.all().delete()`, I get an error saying `AttributeError: 'ReverseSingleRelatedObjectDescriptor' object has no attribute 'delete_manager'`. What am I doin

AttributeError using with GAE

2010-10-02 Thread shwetanka
d=True) def get_absolute_url(self): return "/tag/%s/" % str(self.catid) class Meta: verbose_name = 'Category' When I'm running the code it shows: Exception Type: AttributeError Exception Value: type object 'Category' has no attribute '_meta' Exce

Re: AttributeError at /admin/ when logging into the default Admin site.

2010-09-06 Thread daniel.osterme...@gmail.com
I have now seen this happen with other data that has expired in the session. What I am seeing is that any key:value pair that times out when stored in the request.session is replaced by key:True Is this expected behaviour? -Daniel -- You received this message because you are subscribed to the

Re: AttributeError at /admin/ when logging into the default Admin site.

2010-09-06 Thread daniel.osterme...@gmail.com
>     This sounds suspicious to me. There is actually no "installation" > procedure for Python stuff. It's all about priority in the sys.path, or > PYTHON_PATH, environment variable. So you might experience glitches because > some bits of 1.2 are used together with some other bits of 1.0. > > C

Re: AttributeError at /admin/ when logging into the default Admin site.

2010-09-03 Thread Federico Maggi
On 03/set/2010, at 17:42, "daniel.osterme...@gmail.com" wrote: > There was another issue raised that sounded a little similar, where > the problem was the that django 1.2 was installed over the top of > 1.0. I've installed it as documented, but I do have both 1.0 and 1.2 > installed, so maybe s

Re: AttributeError at /admin/ when logging into the default Admin site.

2010-09-03 Thread daniel.osterme...@gmail.com
>   do you run into the same problem if you remove that 'optiver' stuff? I can not say that I have tried. That is the application that I am developing. The only point of interest in it would be that non of the views require a login, and whilst I make use of the request.session, I've checked and

Re: AttributeError at /admin/ when logging into the default Admin site.

2010-09-03 Thread Federico Maggi
Hi, On Sep 3, 2010, at 7:42 AM, daniel.osterme...@gmail.com wrote: > Any help would be appreciated. do you run into the same problem if you remove that 'optiver' stuff? -- Fede -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

AttributeError at /admin/ when logging into the default Admin site.

2010-09-02 Thread daniel.osterme...@gmail.com
Hi, Ive been running into a problem lately (not sure when it started) where I receive an AttributeError when logging into the admin site. The circumstances seem to be that I start the application, go to the admin site (and log in successfully), navigate around the rest of the application (which

AttributeError at /admin/ logging into the default Admin site.

2010-09-02 Thread daniel.osterme...@gmail.com
Hi, Ive been running into a problem lately (not sure when it started) where I receive an AttributeError when logging into the admin site. The circumstances seem to be that I start the application, go to the admin site (and log in successfully), navigate around the rest of the application (which

Re: AttributeError for ModelForm

2010-08-14 Thread vikalp sahni
class Meta: > model = QuestionSet > > > In a view, calling > > qset=QuestionFormSet() > print q > works just fine. > > > However, > > q = QuestionForm() > print q > throws > > >

AttributeError for ModelForm

2010-08-14 Thread jcage
= QuestionSet In a view, calling qset=QuestionFormSet() print q works just fine. However, q = QuestionForm() print q throws Exception Type: AttributeError Exception Value:'NoneType' object has no attribute &

Re: AttributeError: 'NoneType' object has no attribute '_meta' - during South migration

2010-06-18 Thread Dave E
Andrew Godwin from the South user group replied: "It looks like this is a bug in the permissions-creating code, however, and not in South itself (although it might be triggered by the way South fiddles with the ORM)." Ideas, anyone? -- You received this message because you are subscribed to the

Re: AttributeError: 'NoneType' object has no attribute '_meta' - during South migration

2010-06-14 Thread Dave E
I should have also said: 'errr... help please, what now?' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...

AttributeError: 'NoneType' object has no attribute '_meta' - during South migration

2010-06-14 Thread Dave E
klass) File "[...]django-trunk/django/contrib/contenttypes/models.py", line 40, in get_for_model self._add_to_cache(self.db, ct) File "[...]django-trunk/django/contrib/contenttypes/models.py", line 70, in _add_to_cache key = (model._meta.app_label, model._meta.object_nam

Re: Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-06 Thread bruno desthuilliers
re_method(request, response) > >   File "/usr/lib/python2.6/site-packages/django/middleware/common.py", > line 83, in process_response >     if response.status_code == 404: > > AttributeError: 'str' object has no attribute 'status_code' Obviously a string is return

Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-05 Thread Nihaar Gupta
lers/ modpython.py", line 205, in __call__ response = middleware_method(request, response) File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 83, in process_response if response.status_code == 404: AttributeError: 'str' object has no attri

Re: AttributeError: 'QuerySet' object has no attribute 'remove'

2010-03-11 Thread Daniel Roseman
On Mar 11, 4:46 am, Hugh Zhang wrote: > Hi there, i have occured an error bellow with django 1.1: > *Traceback (most recent call last): >   File "", line 1, in > AttributeError: 'QuerySet' object has no attribute 'remove'* > The whole code about this

AttributeError: 'QuerySet' object has no attribute 'remove'

2010-03-10 Thread Hugh Zhang
Hi there, i have occured an error bellow with django 1.1: *Traceback (most recent call last): File "", line 1, in AttributeError: 'QuerySet' object has no attribute 'remove'* The whole code about this error is: *>>> b = Blog.objects.get

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Bill Freeman
Your code snippet works for me (though I'm just returning html rather than the HttpResponse object, for testing purposes). Be very sure that the spelling of everything in the file in question is correct and that you aren't, for example, using the name "datetime" for something else between the impo

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Karen Tracey
On Tue, Feb 9, 2010 at 5:19 PM, Nick Mellor wrote: > Thanks Shaun, > > I renamed the "now" variable as "dt" but it didn't help. I've also > tried your 1-tuple idea-- no change. > > Note that the offending line isn't the html assignment but: > > now = datetime.datetime.now() > > It seems that whate

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Shawn Milochik
On Feb 9, 2010, at 5:24 PM, Mike Ramirez wrote: > On Tuesday 09 February 2010 14:19:17 Nick Mellor wrote: >> Thanks Shaun, >> >> I renamed the "now" variable as "dt" but it didn't help. I've also >> tried your 1-tuple idea-- no change. >> >> Note that the offending line isn't the html assignmen

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Mike Ramirez
On Tuesday 09 February 2010 14:19:17 Nick Mellor wrote: > Thanks Shaun, > > I renamed the "now" variable as "dt" but it didn't help. I've also > tried your 1-tuple idea-- no change. > > Note that the offending line isn't the html assignment but: > > now = datetime.datetime.now() > Make sure you

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Nick Mellor
Thanks Shaun, I renamed the "now" variable as "dt" but it didn't help. I've also tried your 1-tuple idea-- no change. Note that the offending line isn't the html assignment but: now = datetime.datetime.now() On Feb 10, 6:22 am, Shawn Milochik wrote: > Perhaps replace the bare 'now' with a tupl

Re: Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Shawn Milochik
Perhaps replace the bare 'now' with a tuple: Before: > html = "It is now %s." % now After: > html = "It is now %s." % (now,) Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.

Tutorial 1: AttributeError at /time/ 'module' object has no attribute 'now'

2010-02-09 Thread Nick Mellor
Hi all, This must be very simple, but I'm stumped. Here's the code for views.py from django.http import HttpResponse import datetime def current_datetime(request): now = datetime.datetime.now() html = "It is now %s." % now return HttpResponse(html) The offending line is: now = date

Re: AttributeError: 'ValidationError' object has no attribute 'message_dict'

2010-02-03 Thread Karen Tracey
On Wed, Feb 3, 2010 at 7:43 AM, chefsmart wrote: > I am trying out the new model validation feature in svn trunk, but I > doubt I am doing this right. > > Specifically, for a model I have the following: - > > [snip] > AttributeError: 'ValidationError' object h

AttributeError: 'ValidationError' object has no attribute 'message_dict'

2010-02-03 Thread chefsmart
self._errors.append(form.errors) File "/filepath/django/forms/forms.py", line 111, in _get_errors self.full_clean() File "/filepath/django/forms/forms.py", line 267, in full_clean self._clean_form() File "/filepath/django/forms/models.py", line 320, in _clean_f

<    1   2   3   4   5   >