Code Monkey home page Code Monkey logo

eestecnet's Issues

Cannot open admin/event manager

Cannot open admin/event manager

Environment:


Request Method: GET
Request URL: http://eestec.net/adminevents/event/173/

Django Version: 1.7.3
Python Version: 2.7.3
Installed Applications:
('suit_redactor',
 'suit',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'compressor',
 'haystack',
 'kombu.transport.django',
 'djcelery',
 'mailqueue',
 'froala_editor',
 'gunicorn',
 'sorl.thumbnail',
 'form_utils',
 'reversion',
 'corsheaders',
 'djangular',
 'rest_framework',
 'apps.teams',
 'apps.events',
 'apps.account',
 'apps.statistics',
 'apps.gmapi',
 'apps.password_reset',
 'apps.news',
 'apps.elfinder',
 'apps.wiki',
 'apps.feedback',
 'apps.pages')
Installed Middleware:
('django.middleware.cache.UpdateCacheMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.cache.FetchFromCacheMiddleware')


Traceback:
File "/var/www/unstable/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
  583.                 return self.admin_site.admin_view(view)(*args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.         response = view_func(request, *args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
  206.             return view(request, *args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in change_view
  1456.         return self.changeform_view(request, object_id, form_url, extra_context)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
  29.             return bound_func(*args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
  25.                 return func.__get__(self, type(self))(*args2, **kwargs2)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/db/transaction.py" in inner
  394.                 return func(*args, **kwargs)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in changeform_view
  1379.             obj = self.get_object(request, unquote(object_id))
File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in get_object
  689.             return queryset.get(pk=object_id)
File "/var/www/unstable/local/lib/python2.7/site-packages/django/db/models/query.py" in get
  361.                 num if num <= MAX_GET_RESULTS else 'more than %s' % MAX_GET_RESULTS

Exception Type: MultipleObjectsReturned at /adminevents/event/173/
Exception Value: get() returned more than one Event -- it returned 16!

Add links to sidenav

Currently its just a list to items.
We need to implement links to the different parts of the page.

Team basic frontend functionality

We need to be able to create CRUD functionality for teams ( baseTeam) in the frontend.
Try to look at code from #28 and apply the same rationale to teams.

Edit Permissions frontend

Add a field to all detail serializers indicating whether the current user may edit the serialized instance.

Can't open Event in Admin Panel

MultipleObjectsReturned at /adminevents/event/192/
get() returned more than one Event -- it returned 4!
Request Method: GET
Request URL: http://eestec.net/adminevents/event/192/
Django Version: 1.7.3
Exception Type: MultipleObjectsReturned
Exception Value:
get() returned more than one Event -- it returned 4!
Exception Location: /var/www/unstable/local/lib/python2.7/site-packages/django/db/models/query.py in get, line 361
Python Executable: /var/www/unstable/bin/python
Python Version: 2.7.3
Python Path:
['/var/www/unstable/eestecnet',
'/var/www/unstable/bin',
'/var/www/unstable/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
'/var/www/unstable/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
'/var/www/unstable/lib/python2.7',
'/var/www/unstable/lib/python2.7/plat-linux2',
'/var/www/unstable/lib/python2.7/lib-tk',
'/var/www/unstable/lib/python2.7/lib-old',
'/var/www/unstable/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/var/www/unstable/local/lib/python2.7/site-packages',
'/var/www/unstable/eestecnet']
Server time: Mon, 9 Mar 2015 12:08:49 +0000

Environment:

Request Method: GET
Request URL: http://eestec.net/adminevents/event/192/

Django Version: 1.7.3
Python Version: 2.7.3
Installed Applications:
('suit_redactor',
'suit',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'compressor',
'haystack',
'kombu.transport.django',
'djcelery',
'mailqueue',
'froala_editor',
'gunicorn',
'sorl.thumbnail',
'form_utils',
'reversion',
'corsheaders',
'djangular',
'rest_framework',
'apps.teams',
'apps.events',
'apps.account',
'apps.statistics',
'apps.gmapi',
'apps.password_reset',
'apps.news',
'apps.elfinder',
'apps.wiki',
'apps.feedback',
'apps.pages')
Installed Middleware:
('django.middleware.cache.UpdateCacheMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware')

Traceback:
File "/var/www/unstable/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.                 response = wrapped_callback(request, _callback_args, *_callback_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
  2.             return self.admin_site.admin_view(view)(_args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  3.                 response = view_func(request, _args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  4.     response = view_func(request, _args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
  5.         return view(request, _args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in change_view
  6.     return self.changeform_view(request, object_id, form_url, extra_context)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
  7.         return bound_func(_args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  8.                 response = view_func(request, _args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
  9.             return func.**get**(self, type(self))(_args2, *_kwargs2)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/db/transaction.py" in inner
  10.             return func(_args, *_kwargs)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in changeform_view
  11.         obj = self.get_object(request, unquote(object_id))
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in get_object
  12.         return queryset.get(pk=object_id)
    
    File "/var/www/unstable/local/lib/python2.7/site-packages/django/db/models/query.py" in get
  13.             num if num <= MAX_GET_RESULTS else 'more than %s' % MAX_GET_RESULTS
    

Exception Type: MultipleObjectsReturned at /adminevents/event/192/
Exception Value: get() returned more than one Event -- it returned 4!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.