braces : Unexpected error

2018-08-13 Thread Ketul Patel
File "D:\Learning & Interest\Computer\Web\projects\simplesocial\simplesocial\posts\urls.py", line 5, in from . import views File "D:\Learning & Interest\Computer\Web\projects\simplesocial\simplesocial\posts\views.py", line 9, in from braces.views import SelectedRelatedMixin

Re: Unexpected error

2011-04-27 Thread Czare1
Unfortunately I can't reproduce it. It happens sometimes on production environment. It disappears as soon as django processes are restarted. On 27 Kwi, 16:51, Shawn Milochik wrote: > If you know how to cause this error, run manage.py shell and import or > instantiate whatever

Re: Unexpected error

2011-04-27 Thread Shawn Milochik
If you know how to cause this error, run manage.py shell and import or instantiate whatever you have to in order to make this happen. The traceback you get there will be more useful. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Unexpected error

2011-04-26 Thread Czare1
The error keeps happening. Here is another trace: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/django/core/handlers/ base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File

Re: Unexpected error

2011-04-26 Thread Czare1
Thanks for immediate answer. Here is my manager: class PageManager(models.Manager): def active(self): return self.active_with_expired().filter(Q(expire_time__exact=None) | Q(expire_time__gt=datetime.now())) def active_with_expired(self): return self.filter(active=True,

Re: Unexpected error

2011-04-26 Thread Daniel Roseman
On Tuesday, April 26, 2011 2:32:35 PM UTC+1, Czare1 wrote: > > Once for a while I get very strange error. It's listed below. I > > Traceback (most recent call last): > > File "/usr/local/lib/python2.7/site-packages/django/core/handlers/ > base.py", line 111, in get_response > response =

Unexpected error

2011-04-26 Thread Czare1
Once for a while I get very strange error. It's listed below. I Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/django/core/handlers/ base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File

Re: unexpected error with inline model

2010-08-08 Thread raj
> type object 'MeetingTalkInline' has no attribute 'date_hierarchy' date_hierarchy is an attribute expected to be with every 'normal' admin classes. Why do django tries to search it in your inline admin? Just because you have registered it as you do with normal admins. Usually, inlines are not to

unexpected error with inline model

2010-08-08 Thread Michael P. Soulier
Hi, I'm trying to use inline models, and I've configured my admin.py like so. from django.contrib import admin from opag.main.models import Notice, Meeting, MeetingTalk class NoticeAdmin(admin.ModelAdmin): list_display = ('title', 'visible') list_display_links = ('title',) class

Re: unexpected Error: OperationalError: no such column: ...

2010-02-02 Thread HWM-Rocker
Hi Thomasz Zielinski, On Jan 20, 6:38 pm, Tomasz Zieliński wrote: > On 20 Sty, 20:52, HWM-Rocker wrote: > > > o...@olaf-laptop:~/workspace/truemen$ ./manage.py shell > > Not touching you question, you could try shell_plus from django- >

Re: unexpected Error: OperationalError: no such column: ...

2010-01-20 Thread Tomasz Zieliński
On 20 Sty, 20:52, HWM-Rocker wrote: > o...@olaf-laptop:~/workspace/truemen$ ./manage.py shell Not touching you question, you could try shell_plus from django- extensions, it load all models on startup, saving you a lot of typing. Moreover you could try ipython (which is

unexpected Error: OperationalError: no such column: ...

2010-01-20 Thread HWM-Rocker
Hello Everybody, i got a strange error when i am trying to test some code out of pycrust. I have a small script that sets the environment variable and starts pycrust. o...@olaf-laptop:~/workspace/truemen$ cat debug-shell.sh #!/bin/bash cd /home/olaf/workspace/ && export