Re: ViewDoesNotExist at /admin/

2014-01-06 Thread Gabriele Stoia
Hi,

I fixed my problem changing the .fcgi file like this:















*#!/usr/bin/eval PYTHON_VERSION=2.6 DJANGO_VERSION=1.5.4 pythonimport os, 
syssys.path.append('/home/path/to/myproject/')#_PROJECT_DIR = 
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))//delete 
this line#sys.path.insert(0, 
_PROJECT_DIR)   
 
//delete this line#sys.path.insert(0, 
os.path.dirname(_PROJECT_DIR))   
//delete this line#_PROJECT_NAME = 
_PROJECT_DIR.split('/')[-1]
//delete this 
linesys.path.insert(0,'/home/path/to/myproject/')   
  
//add this lineos.environ['DJANGO_SETTINGS_MODULE'] = 
"myProject.settings"from django.core.servers.fastcgi import 
runfastcgirunfastcgi(method="threaded", daemonize="false")*



Il giorno venerdì 27 dicembre 2013 22:03:33 UTC+7, Cal Leeming [Simplicity 
Media Ltd] ha scritto:
>
> Hello,
>
> Perhaps try installing a completely new/fresh dev environment in a 
> vmware/virtualbox instance, and attempt to get it working from there, that 
> will at least help you narrow this problem down locally instead of poking 
> around at production. Also try and make sure you install the same 
> OS/release as what you are trying to deploy in production. You should also 
> use virtualenv/virtualenvwrapper to help reduce the chance of 
> library/dependency conflict.
>
> Also heads up - realistically the mailing lists are here to point you in 
> the right direction, but it's up to you to do as much of the work as 
> possible. If you come up against a problem, 99% of the time Google will 
> already have the answer. Some great examples of how to use Google 
> accurately can be found at 
> https://code.djangoproject.com/wiki/UsingTheMailingList .
>
> If you're not sure how to use any of the things mentioned, then here are 
> some good starting points for learning;
>
> http://gettingstartedwithdjango.com/ - Django learning
> http://learnpythonthehardway.org/book/next.html - Python learning
> http://virtualenvwrapper.readthedocs.org/en/latest/
>
> Hope this helps, and remember to update this thread once you figure out 
> the answer so others can find it in the future.
>
> Cal
>
>
>
>
> On Fri, Dec 27, 2013 at 12:34 PM, Gabriele Stoia 
> <gabrie...@gmail.com
> > wrote:
>
>> Thank you Tom for your answer. 
>> I'm sorry but I don't have much experience with Django...
>>
>> Do you have an idea how to fix this problem ?
>>
>> Thanks in advance
>> Gabri
>>
>> Il giorno martedì 24 dicembre 2013 20:58:32 UTC+7, Thomas ha scritto:
>>>
>>>
>>> On 2013-12-23, at 9:42 PM, Gabriele Stoia <gabrie...@gmail.com> wrote:
>>>
>>> I think I found the problem...maybe...
>>>
>>> I running my app in the same hosting of another app ... (sorry for my 
>>> english..is not my first language... I'm italian…)
>>>
>>>
>>> If you are not using virtualenv and pip to manage each of these 
>>> installations you will likely find it useful to do so. It should eliminate 
>>> worries about conflicts between version sets.
>>>
>>> hth
>>>
>>>   - Tom
>>>
>>>
>>>
>>> I have
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *-- first app-- feincms-- other module-- ...--second app-- -- feincms-- 
>>> -- other module*
>>>
>>> Maybe my second-app is using feincms of the first app which is different 
>>> version.
>>> I think this because I got this error :
>>>
>>> No module named filterspecs
>>> /home/*alessandrocambogia*/feincms/admin/filterspecs.py in , line 7
>>>
>>> where *alessandrocambogia *is the first-app.
>>>
>>> I need to have 
>>> /home/alessandrocambogia/*gabryandjenny*/feincms
>>>
>>> where *gabryandjenny * is the second-app
>>>
>>> but actually I don't know how to change the path... Is my first experience 
>>> in Django.
>>>
>>> Can you help in this  Please ??? 
>>> Thank you in advance.
>>>
>>> Gabri
>>>
>>>
>>>
>>>
>>> Il giorno martedì 24 dicembre 2013 07:45:02 UTC+7, Russell Keith-Magee 
>>> ha scritto:
>>>>
>>>>
>>>> On Mon, Dec 23, 2013 at 10:53 AM, Gabriele Stoia 
>>>> <gabrie...@gmail.com>wrote:
>>>>
>>>>> Hi Russel,
>

Re: ViewDoesNotExist at /admin/

2013-12-27 Thread Gabriele Stoia
Thank you Tom for your answer. 
I'm sorry but I don't have much experience with Django...

Do you have an idea how to fix this problem ?

Thanks in advance
Gabri

Il giorno martedì 24 dicembre 2013 20:58:32 UTC+7, Thomas ha scritto:
>
>
> On 2013-12-23, at 9:42 PM, Gabriele Stoia <gabrie...@gmail.com> 
> wrote:
>
> I think I found the problem...maybe...
>
> I running my app in the same hosting of another app ... (sorry for my 
> english..is not my first language... I'm italian…)
>
>
> If you are not using virtualenv and pip to manage each of these 
> installations you will likely find it useful to do so. It should eliminate 
> worries about conflicts between version sets.
>
> hth
>
>   - Tom
>
>
>
> I have
>
>
>
>
>
>
>
> *-- first app-- feincms-- other module-- ...--second app-- -- feincms-- -- 
> other module*
>
> Maybe my second-app is using feincms of the first app which is different 
> version.
> I think this because I got this error :
>
> No module named filterspecs
> /home/*alessandrocambogia*/feincms/admin/filterspecs.py in , line 7
>
> where *alessandrocambogia *is the first-app.
>
> I need to have 
> /home/alessandrocambogia/*gabryandjenny*/feincms
>
> where *gabryandjenny * is the second-app
>
> but actually I don't know how to change the path... Is my first experience in 
> Django.
> Can you help in this  Please ??? 
> Thank you in advance.
>
> Gabri
>
>
>
>
> Il giorno martedì 24 dicembre 2013 07:45:02 UTC+7, Russell Keith-Magee ha 
> scritto:
>>
>>
>> On Mon, Dec 23, 2013 at 10:53 AM, Gabriele Stoia <gabrie...@gmail.com>wrote:
>>
>>> Hi Russel,
>>>
>>> thank you for your e-mail !!!
>>> I thought that something was connected with MPTT or FeinCMS... I'll try 
>>> to work out !
>>> What I really don't understand why so many problem when you in 
>>> deployment ??? In local everything was super fine !!!
>>>
>>
>> If you're having "deployment only" problems, this points to a problem 
>> with the way your development process is organised. These sorts of problems 
>> only emerge because your development environment is fundamentally different 
>> to your production environment -- for example, different versions of 
>> software, different paths. If you make good use of virtualenv to isolate 
>> your project, and use requirements files to ensure version compatibility, 
>> you should be able to minimise this sort of problem.
>>
>> Yours,
>> Russ Magee %-)
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/e66a8967-5e82-43b2-9ba8-8736cb192025%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> Tom Lockhart
> tlockh...@gmail.com 
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9bd66d58-20d2-40fd-8445-e1e7910b9507%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ViewDoesNotExist at /admin/

2013-12-23 Thread Gabriele Stoia
I think I found the problem...maybe...

I running my app in the same hosting of another app ... (sorry for my 
english..is not my first language... I'm italian...)

I have







*-- first app-- feincms-- other module-- ...--second app-- -- feincms-- -- 
other module*

Maybe my second-app is using feincms of the first app which is different 
version.
I think this because I got this error :

No module named filterspecs
/home/*alessandrocambogia*/feincms/admin/filterspecs.py in , line 7

where *alessandrocambogia *is the first-app.

I need to have 
/home/alessandrocambogia/*gabryandjenny*/feincms

where *gabryandjenny * is the second-app

but actually I don't know how to change the path... Is my first experience in 
Django.
Can you help in this  Please ??? 
Thank you in advance.

Gabri




Il giorno martedì 24 dicembre 2013 07:45:02 UTC+7, Russell Keith-Magee ha 
scritto:
>
>
> On Mon, Dec 23, 2013 at 10:53 AM, Gabriele Stoia 
> <gabrie...@gmail.com
> > wrote:
>
>> Hi Russel,
>>
>> thank you for your e-mail !!!
>> I thought that something was connected with MPTT or FeinCMS... I'll try 
>> to work out !
>> What I really don't understand why so many problem when you in deployment 
>> ??? In local everything was super fine !!!
>>
>
> If you're having "deployment only" problems, this points to a problem with 
> the way your development process is organised. These sorts of problems only 
> emerge because your development environment is fundamentally different to 
> your production environment -- for example, different versions of software, 
> different paths. If you make good use of virtualenv to isolate your 
> project, and use requirements files to ensure version compatibility, you 
> should be able to minimise this sort of problem.
>
> Yours,
> Russ Magee %-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e66a8967-5e82-43b2-9ba8-8736cb192025%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: ViewDoesNotExist at /admin/

2013-12-22 Thread Gabriele Stoia
Hi Russel,

thank you for your e-mail !!!
I thought that something was connected with MPTT or FeinCMS... I'll try to 
work out !
What I really don't understand why so many problem when you in deployment 
??? In local everything was super fine !!!

I wil consult FeinCMS forum.
Thanks again for your time.
Happy New Year.
Gabri

Il giorno lunedì 23 dicembre 2013 07:11:12 UTC+7, Russell Keith-Magee ha 
scritto:
>
> Hi Gabriele,
>
> That's not an error I immediately recognise the cause of; however, from 
> the stack trace, it suggests that something in FeinCMS has overridden 
> something in admin, but has done so in a way that isn't compatible with 
> Django itself. Unfortunately, I can't tell if this is a fault in FeinCMS, 
> or a fault in your configuration of FeinCMS - again, you'll need to consult 
> the support mailing lists for that product for better advice.
>
> Yours,
> Russ Magee %-)
>
>
> On Sun, Dec 22, 2013 at 5:05 PM, Gabriele Stoia 
> <gabrie...@gmail.com
> > wrote:
>
>> Hi Russel,
>>
>> No problem, I found some information on-line and I fixed. now it works 
>> fine.
>> I had to modify urls.py in photologue.
>>
>> I'm sorry to bother you... but  I have another problem in my admin 
>> when I try to get into the pages:
>>
>> TypeError at /admin/gabryandjennyApp/page/
>>
>> get_query_set() takes exactly 1 argument (2 given)
>>
>> Environment:
>>
>>
>> Request Method: GET
>> Request URL: http://www.gabryandjenny.com/admin/gabryandjennyApp/page/
>>
>>
>> Django Version: 1.5.4
>> Python Version: 2.6.6
>> Installed Applications:
>> ('django.contrib.auth',
>>  'django.contrib.contenttypes',
>>  'django.contrib.sessions',
>>  'django.contrib.sites',
>>
>>  'django.contrib.messages',
>>  'django.contrib.staticfiles',
>>  'django.contrib.admin',
>>  'django.contrib.sitemaps',
>>  'modeltranslation',
>>  'gabryandjennyApp',
>>
>>  'photologue',
>>
>>  'south',
>>  'mptt',
>>  'feincms',
>>  'tinymce')
>> Installed Middleware:
>> ('django.middleware.common.CommonMiddleware',
>>  'django.contrib.sessions.middleware.SessionMiddleware',
>>
>>  'django.middleware.csrf.CsrfViewMiddleware',
>>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>>  'django.contrib.messages.middleware.MessageMiddleware')
>>
>>
>> Traceback:
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in 
>> get_response
>>
>>   115. response = callback(request, *callback_args, 
>> **callback_kwargs)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/options.py" 
>> in wrapper
>>   372. return self.admin_site.admin_view(view)(*args, 
>> **kwargs)
>>
>> File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
>> in _wrapped_view
>>   91. response = view_func(request, *args, **kwargs)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" 
>> in _wrapped_view_func
>>
>>   89. response = view_func(request, *args, **kwargs)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" in 
>> inner
>>   202. return view(request, *args, **kwargs)
>>
>> File "/home/alessandrocambogia/feincms/admin/tree_editor.py" in 
>> changelist_view
>>   322. return super(TreeEditor, self).changelist_view(request, 
>> extra_context, *args, **kwargs)
>> File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
>> in _wrapper
>>
>>   25. return bound_func(*args, **kwargs)
>>
>> File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
>> in _wrapped_view
>>   91. response = view_func(request, *args, **kwargs)
>> File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
>> in bound_func
>>   21. return func(self, *args2, **kwargs2)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/options.py" 
>> in changelist_view
>>
>>   1180. self)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/views/main.py"
>>  in __init__
>>   73. self.query_set = self.get_query_set(request)
>>
>> Exception Type: 

Re: ViewDoesNotExist at /admin/

2013-12-22 Thread Gabriele Stoia
Hi Russel,

No problem, I found some information on-line and I fixed. now it works fine.
I had to modify urls.py in photologue.

I'm sorry to bother you... but  I have another problem in my admin when 
I try to get into the pages:

TypeError at /admin/gabryandjennyApp/page/

get_query_set() takes exactly 1 argument (2 given)

Environment:


Request Method: GET
Request URL: http://www.gabryandjenny.com/admin/gabryandjennyApp/page/

Django Version: 1.5.4
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.sitemaps',
 'modeltranslation',
 'gabryandjennyApp',
 'photologue',
 'south',
 'mptt',
 'feincms',
 'tinymce')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" 
in get_response
  115. response = callback(request, *callback_args, 
**callback_kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/options.py" in 
wrapper
  372. return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in 
_wrapped_view
  91. response = view_func(request, *args, **kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" in 
_wrapped_view_func
  89. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" 
in inner
  202. return view(request, *args, **kwargs)
File "/home/alessandrocambogia/feincms/admin/tree_editor.py" in changelist_view
  322. return super(TreeEditor, self).changelist_view(request, 
extra_context, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in 
_wrapper
  25. return bound_func(*args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in 
_wrapped_view
  91. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in 
bound_func
  21. return func(self, *args2, **kwargs2)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/options.py" in 
changelist_view
  1180. self)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/views/main.py" 
in __init__
  73. self.query_set = self.get_query_set(request)

Exception Type: TypeError at /admin/gabryandjennyApp/page/
Exception Value: get_query_set() takes exactly 1 argument (2 given)

Any suggestion ? I read can be MPTT probably... maybe to update  ?

Thanks



Il giorno domenica 22 dicembre 2013 14:55:34 UTC+7, Russell Keith-Magee ha 
scritto:
>
> Hi Gabriele,
>
> Unfortunately, no. I'm aware of the name, but  I haven't used 
> Photologue myself, so I don't really know anything about it. You'll need to 
> check the project pages and support lists for Photologue itself.
>
> Yours,
> Russ Magee %-)
>
> On Sunday, December 22, 2013, Gabriele Stoia wrote:
>
>> Hi Russel,
>>
>> thanks for your answer. I found the problem. Is related to Photologue. 
>> Do you have any information about it ?
>>
>> Thank you very much
>>
>> Gabri
>>
>> Il giorno domenica 22 dicembre 2013 09:17:51 UTC+7, Russell Keith-Magee 
>> ha scritto:
>>>
>>> Hi Gabriele,
>>>
>>> The answer is the same as before. You have some code that is referencing 
>>> django.views.generic.list_detail.object_list. As of Django 1.5, this 
>>> view no longer exists. You need to find out what code is referencing this 
>>> view, and update it.
>>>
>>> The problem code might be your own code, or it might be a third party 
>>> app. You'll need to check all the apps in INSTALLED_APPS to see if there 
>>> are any reported problems with Django 1.5 compatibility.
>>>
>>> Yours,
>>> Russ Magee %-)
>>>
>>>
>>> On Sat, Dec 21, 2013 at 8:28 PM, Gabriele Stoia <gabrie...@gmail.com>wrote:
>>>
>>>> Hi Russel
>>>>
>>>> I have the same problem but I cannot figure out how to fix it !!! In 
>>>> local the app was 

Re: ViewDoesNotExist at /admin/

2013-12-21 Thread Gabriele Stoia
Hi Russel,

thanks for your answer. I found the problem. Is related to Photologue. 
Do you have any information about it ?

Thank you very much

Gabri

Il giorno domenica 22 dicembre 2013 09:17:51 UTC+7, Russell Keith-Magee ha 
scritto:
>
> Hi Gabriele,
>
> The answer is the same as before. You have some code that is referencing 
> django.views.generic.list_detail.object_list. As of Django 1.5, this view 
> no longer exists. You need to find out what code is referencing this view, 
> and update it.
>
> The problem code might be your own code, or it might be a third party app. 
> You'll need to check all the apps in INSTALLED_APPS to see if there are any 
> reported problems with Django 1.5 compatibility.
>
> Yours,
> Russ Magee %-)
>
>
> On Sat, Dec 21, 2013 at 8:28 PM, Gabriele Stoia 
> <gabrie...@gmail.com
> > wrote:
>
>> Hi Russel
>>
>> I have the same problem but I cannot figure out how to fix it !!! In 
>> local the app was perfect... in deploy I had this message :
>>
>>  
>
>> ViewDoesNotExist at /admin/
>>
>> Could not import django.views.generic.list_detail.object_list. Parent module 
>> django.views.generic.list_detail does not exist.
>>
>>  Request Method: GET  Request URL: http://www.gabryandjenny.com/admin/  
>> Django 
>> Version: 1.5.4  Exception Type: ViewDoesNotExist  Exception Value: 
>>
>> Could not import django.views.generic.list_detail.object_list. Parent module 
>> django.views.generic.list_detail does not exist.
>>
>>  Exception Location: 
>> /usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py 
>> in get_callable, line 104  Python Executable: 
>> /usr/languages/python/2.6/bin/python  Python Version: 2.6.6  Python Path: 
>>
>> ['/home/alessandrocambogia',
>>  '/home/alessandrocambogia/gabryandjenny',
>>  '/home/alessandrocambogia/gabryandjenny/public',
>>  '/usr/local/lib/python2.6/site-packages/pip-0.4-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/Paste-1.6-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/trac-0.10.5-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/lamson-1.0-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/python_daemon-1.5.5-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/mock-0.7.0b2-py2.6.egg',
>>  '/usr/local/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg',
>>  '/home/alessandrocambogia/gabryandjenny/public',
>>  '/usr/local/alwaysdata/python/django/1.5.4',
>>  '/usr/languages/python/2.6/lib/python26.zip',
>>  '/usr/languages/python/2.6/lib/python2.6',
>>  '/usr/languages/python/2.6/lib/python2.6/plat-linux2',
>>  '/usr/languages/python/2.6/lib/python2.6/lib-tk',
>>  '/usr/languages/python/2.6/lib/python2.6/lib-old',
>>  '/usr/languages/python/2.6/lib/python2.6/lib-dynload',
>>  '/usr/languages/python/2.6/lib/python2.6/site-packages',
>>  '/usr/local/lib/python2.6/site-packages',
>>  '/usr/local/lib/python2.6/site-packages/PIL',
>>  '/usr/lib/python2.6/site-packages',
>>  '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/',
>>  '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/']
>>
>>  Server time: Sat, 21 Dec 2013 06:15:16 -0600
>> Here the traceback
>>
>> Environment:
>>
>>
>> Request Method: GET
>> Request URL: http://www.gabryandjenny.com/admin/
>>
>> Django Version: 1.5.4
>> Python Version: 2.6.6
>> Installed Applications:
>> ('django.contrib.auth',
>>  'django.contrib.contenttypes',
>>  'django.contrib.sessions',
>>  'django.contrib.sites',
>>  'django.contrib.messages',
>>  'django.contrib.staticfiles',
>>  'django.contrib.admin',
>>  'django.contrib.sitemaps',
>>  'modeltranslation',
>>  'gabryandjennyApp',
>>  'south',
>>  'mptt',
>>  'feincms',
>>  'tinymce')
>> Installed Middleware:
>> ('django.middleware.common.CommonMiddleware',
>>  'django.contrib.sessions.middleware.SessionMiddleware',
>>  'django.middleware.csrf.CsrfViewMiddleware',
>>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>>  'django.contrib.messages.middleware.MessageMiddleware')
>>
>>
>> Traceback:
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in 
>> get_response
>>   115. response = callback(request, 
>> *callback_args, **callback_kwargs)
>> File 
>> "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py"

Re: ViewDoesNotExist at /admin/

2013-12-21 Thread Gabriele Stoia
Hi Russel

I have the same problem but I cannot figure out how to fix it !!! In local 
the app was perfect... in deploy I had this message :

ViewDoesNotExist at /admin/ 

Could not import django.views.generic.list_detail.object_list. Parent module 
django.views.generic.list_detail does not exist.

 Request Method: GET  Request URL: http://www.gabryandjenny.com/admin/  Django 
Version: 1.5.4  Exception Type: ViewDoesNotExist  Exception Value: 

Could not import django.views.generic.list_detail.object_list. Parent module 
django.views.generic.list_detail does not exist.

 Exception Location: 
/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py 
in get_callable, line 104  Python Executable: 
/usr/languages/python/2.6/bin/python  Python Version: 2.6.6  Python Path: 

['/home/alessandrocambogia',
 '/home/alessandrocambogia/gabryandjenny',
 '/home/alessandrocambogia/gabryandjenny/public',
 '/usr/local/lib/python2.6/site-packages/pip-0.4-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Paste-1.6-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/trac-0.10.5-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/lamson-1.0-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/python_daemon-1.5.5-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/mock-0.7.0b2-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg',
 '/home/alessandrocambogia/gabryandjenny/public',
 '/usr/local/alwaysdata/python/django/1.5.4',
 '/usr/languages/python/2.6/lib/python26.zip',
 '/usr/languages/python/2.6/lib/python2.6',
 '/usr/languages/python/2.6/lib/python2.6/plat-linux2',
 '/usr/languages/python/2.6/lib/python2.6/lib-tk',
 '/usr/languages/python/2.6/lib/python2.6/lib-old',
 '/usr/languages/python/2.6/lib/python2.6/lib-dynload',
 '/usr/languages/python/2.6/lib/python2.6/site-packages',
 '/usr/local/lib/python2.6/site-packages',
 '/usr/local/lib/python2.6/site-packages/PIL',
 '/usr/lib/python2.6/site-packages',
 '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/',
 '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/']

 Server time: Sat, 21 Dec 2013 06:15:16 -0600
Here the traceback

Environment:


Request Method: GET
Request URL: http://www.gabryandjenny.com/admin/

Django Version: 1.5.4
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.sitemaps',
 'modeltranslation',
 'gabryandjennyApp',
 'south',
 'mptt',
 'feincms',
 'tinymce')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in 
get_response
  115. response = callback(request, *callback_args, 
**callback_kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" 
in wrapper
  219. return self.admin_view(view, cacheable)(*args, 
**kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
in _wrapped_view
  91. response = view_func(request, *args, **kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" 
in _wrapped_view_func
  89. response = view_func(request, *args, **kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" 
in inner
  198.current_app=self.name):
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
reverse
  467. app_list = resolver.app_dict[ns]
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
app_dict
  311. self._populate()
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
_populate
  274. for name in pattern.reverse_dict:
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
reverse_dict
  297. self._populate()
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
_populate
  286. lookups.appendlist(pattern.callback, (bits, 
p_pattern, pattern.default_args))
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
callback
  230. self._callback = get_callable(self._callback_str)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/functional.py" 
in wrapper
  31. result = func(*args)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
get_callable
  104. 

Re: ViewDoesNotExist at /admin/

2013-12-21 Thread Gabriele Stoia
Hi Russel I had the same problem.
Here the traceback:

ViewDoesNotExist at /admin/ 

Could not import django.views.generic.list_detail.object_list. Parent module 
django.views.generic.list_detail does not exist.

 Request Method: GET  Request URL: http://www.gabryandjenny.com/admin/  Django 
Version: 1.5.4  Exception Type: ViewDoesNotExist  Exception Value: 

Could not import django.views.generic.list_detail.object_list. Parent module 
django.views.generic.list_detail does not exist.

 Exception Location: 
/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py 
in get_callable, line 104  Python Executable: 
/usr/languages/python/2.6/bin/python  Python Version: 2.6.6  Python Path: 

['/home/alessandrocambogia',
 '/home/alessandrocambogia/gabryandjenny',
 '/home/alessandrocambogia/gabryandjenny/public',
 '/usr/local/lib/python2.6/site-packages/pip-0.4-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Paste-1.6-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/trac-0.10.5-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/lamson-1.0-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/python_daemon-1.5.5-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/mock-0.7.0b2-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg',
 '/home/alessandrocambogia/gabryandjenny/public',
 '/usr/local/alwaysdata/python/django/1.5.4',
 '/usr/languages/python/2.6/lib/python26.zip',
 '/usr/languages/python/2.6/lib/python2.6',
 '/usr/languages/python/2.6/lib/python2.6/plat-linux2',
 '/usr/languages/python/2.6/lib/python2.6/lib-tk',
 '/usr/languages/python/2.6/lib/python2.6/lib-old',
 '/usr/languages/python/2.6/lib/python2.6/lib-dynload',
 '/usr/languages/python/2.6/lib/python2.6/site-packages',
 '/usr/local/lib/python2.6/site-packages',
 '/usr/local/lib/python2.6/site-packages/PIL',
 '/usr/lib/python2.6/site-packages',
 '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/',
 '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/']

 Server time: Sat, 21 Dec 2013 06:15:16 -0600
Environment:


Request Method: GET
Request URL: http://www.gabryandjenny.com/admin/

Django Version: 1.5.4
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.sitemaps',
 'modeltranslation',
 'gabryandjennyApp',
 'south',
 'mptt',
 'feincms',
 'tinymce')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in 
get_response
  115. response = callback(request, *callback_args, 
**callback_kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" 
in wrapper
  219. return self.admin_view(view, cacheable)(*args, 
**kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" 
in _wrapped_view
  91. response = view_func(request, *args, **kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" 
in _wrapped_view_func
  89. response = view_func(request, *args, **kwargs)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" 
in inner
  198.current_app=self.name):
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
reverse
  467. app_list = resolver.app_dict[ns]
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
app_dict
  311. self._populate()
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
_populate
  274. for name in pattern.reverse_dict:
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
reverse_dict
  297. self._populate()
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
_populate
  286. lookups.appendlist(pattern.callback, (bits, 
p_pattern, pattern.default_args))
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
callback
  230. self._callback = get_callable(self._callback_str)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/functional.py" 
in wrapper
  31. result = func(*args)
File 
"/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in 
get_callable
  104. (lookup_view, mod_name))

Exception Type: ViewDoesNotExist at /admin/
Exception Value: Could not