arpheno / eestecnet Goto Github PK
View Code? Open in Web Editor NEWThe online platform for the Electrical Engineering Students' European Association
Home Page: https://test.eestec.net
License: Other
The online platform for the Electrical Engineering Students' European Association
Home Page: https://test.eestec.net
License: Other
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!
Currently its just a list to items.
We need to implement links to the different parts of the page.
You can have a look at activity and identity sections as in f9f0e8c#diff-cdf55e98a8cdbe1933a88753ec4cedc6R1
IMWs, Workshops etc etc need their respective endpoints and controllers.
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.
We need to put in the protocol, host and path.
Add a protractor test verifying the registration functionality.
Add a field to all detail serializers indicating whether the current user may edit the serialized instance.
Events need a different serializer depending on the circumstances.
Input serializers need to be different from serializers for output.
Authorized Serializers need to be different from Non-Authorized
Similar to #48
Fix third party package djangorestframeworkregistration api
Look at the way list pages are implemented https://github.com/arpheno/eestecnet/blob/green/apps/events/static/events/views/list.html
and implement detail pages exposing all critical information about events there.
http://pokit.org/get/?dd3c78a243170b8aa179edfc0ae553e5.png
roboto, oswald and slabo27 for fonts
Implement a footer like the original eestecnet or get inspiration from material design pages.
https://eestec.net/
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
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
return self.admin_site.admin_view(view)(_args, *_kwargs)
response = view_func(request, _args, *_kwargs)
response = view_func(request, _args, *_kwargs)
return view(request, _args, *_kwargs)
return self.changeform_view(request, object_id, form_url, extra_context)
return bound_func(_args, *_kwargs)
response = view_func(request, _args, *_kwargs)
return func.**get**(self, type(self))(_args2, *_kwargs2)
return func(_args, *_kwargs)
obj = self.get_object(request, unquote(object_id))
return queryset.get(pk=object_id)
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!
We need to tweak server and client side to adjust the validity of the javascript web tokens.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.