dangerdak / chrapp Goto Github PK
View Code? Open in Web Editor NEWChr(istmas) App: Django-based secret santa web app
Chr(istmas) App: Django-based secret santa web app
This might be hard to do ๐ .
There is no indication of which invites have responded so the admin doesn't have any indication of when he will be able to progress to the next stage (clicking assign Santas).
Sometimes this should be secret - e.g. when emailing someone else's santa.
We agreed to ignore the poly-amorous.
Because invitation to_name must be unique and admin invitation automatically created
would be fun :)
E.g. [email protected] and [email protected] - will their usernames be unique (which is required by the django User model)?
Environment:
Request Method: GET
Request URL: http://192.168.0.3:8000/groups/crappy_xmas/assign/
Django Version: 1.7.1
Python Version: 3.4.2
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_extensions',
'guardian',
'registration',
'profiles',
'pairings')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback:
File "/home/dangerdak/projects/chrappenv/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
convert(data, invitation_to_profile)
avoid = fcn(avoid)
profile = Profile.objects.get(user__username=invitation.to_name)
return getattr(self.get_queryset(), name)(_args, *_kwargs)
self.model._meta.object_name)
Exception Type: DoesNotExist at /groups/crappy_xmas/assign/
Exception Value: Profile matching query does not exist.
I took me a while to realize that you have to hold down control to deselect. Perhaps it should be in explained.
It would be easier if one could select with one click, and click again to deselect.
Anyone can do anything if they know the correct url
Partner should only be avoided if ['fields']['avoid_partner'] is True.
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.