pyconuk / 2017.pyconuk.org Goto Github PK
View Code? Open in Web Editor NEWConference website for PyCon UK 2017
Home Page: https://2017.pyconuk.org/
License: MIT License
Conference website for PyCon UK 2017
Home Page: https://2017.pyconuk.org/
License: MIT License
There's not enough space in the navbar for all the links we'd like (eg we're missing the shop).
We should come up with a better solution!
To avoid a repeat of #219.
We use http-crawler to spider the live site, and the site we're building โ if there are pages on live that have disappeared, we error the build. Any pages we intentionally want to delete either get an exception in that test, or a 410 status code โ but that gets explicitly documented in the patch.
@alexwlchan suggested at campug tonight that it might be nice to have a page on the site providing pictures and download links for the posters from the poster session.
Here's mine:
Hosted versions here: png | pdf
I can help put the web page together and/or help contact poster presenters if that's useful?
We should either link to or include the full text on the home page.
As spotted on Twitter: https://twitter.com/drjtwit/status/916299573374717952
http://2017.pyconuk.org/favicon.ico returns a 404.
Current design is iffy, at best.
Sometimes the conference wifi is iffy, and I can't access the schedule, even if I've already loaded it in my browser:
https://developers.google.com/web/fundamentals/codelabs/offline/
The schedule features some large blocks of colour for the empty slots:
These are quite contrasting which can be an issue for some folks (me!) who are sensitive to such things (looking at them leads to headaches). I think just changing the black to a grey would remove the stark contrast between the pink and black.
GitLab supports TLS out of the box. They do not support SSL.
https://about.gitlab.com/2016/04/11/tutorial-securing-your-gitlab-pages-with-tls-and-letsencrypt/
As an added bonus it will let you build using django-amber without having to push to branches etc.
Hi,
I've tried to book tickets. Each time I fail and it wasn't obvious why (there's no error message). It was only because I looked very very hard that I noticed the dates were bounded by red. What I'd actually done is fill in my surname (I just assumed that would be the second field after "First Name").
In any case, since it was a free text field I revised with entries like "16th November 2001" thinking (since they were free text) there wouldn't be any validation.
Again it failed, there were no error messages and it was hard to see that the date fields were highlighted. I revised to "16/11/2001" and still got an error. Blow me down, it appears to be expecting US-style MM/DD/YYYY. :-(
Please can this just be a date picker rather than confusing text field with no error feedback or help about formatting? If I have time later today I'll take a crack at it. Just highlighting it via an issue for the sake of visibility.
Please add a holding page about Sunday's micro:bit summit and link all Sunday's micro:bit summit talks to that page. I'll ask Jonny for a PR with all the details for the holding page. Thank you..!
I tried the following steps to get the project running:
# Create a virtualenv:
mkvirtualenv 2017.pyconuk.org -p `which python3`
# Install python requirements:
pip install -r requirements.txt
# Run migrations:
./manage.py migrate
# Run the site:
make serve
That gets the server running, but when I browse to http://127.0.0.1:8000/ I get a 500
.
On the presumption that the issue was ALLOWED_HOSTS
, I tried to run in DEBUG
mode (DEBUG=1 make serve
) but then I get the following error:
Traceback (most recent call last):
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/base.py", line 260, in precompile
mod = import_module(mod_name)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'lessc {infile} {outfile}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/charlie/code/pyconuk/2017.pyconuk.org/pyconuk/views.py", line 26, in page
return render(request, template, context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/shortcuts.py", line 67, in render
template_name, context, request=request, using=using)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/loader.py", line 97, in render_to_string
return template.render(context, request)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/backends/django.py", line 95, in render
return self.template.render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 206, in render
return self._render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/loader_tags.py", line 173, in render
return compiled_parent._render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/templatetags/compress.py", line 127, in render
return self.render_compressed(context, self.kind, self.mode, forced=forced)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/templatetags/compress.py", line 103, in render_compressed
rendered_output = compressor.output(mode, forced=forced)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/css.py", line 49, in output
ret.append(subnode.output(*args, **kwargs))
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/css.py", line 51, in output
return super(CssCompressor, self).output(*args, **kwargs)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/base.py", line 292, in output
output = '\n'.join(self.filter_input(forced))
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/base.py", line 232, in filter_input
for hunk in self.hunks(forced):
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/base.py", line 204, in hunks
precompiled, value = self.precompile(value, **options)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/base.py", line 265, in precompile
return True, filter.input(**kwargs)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/filters/base.py", line 229, in input
return super(CachedCompilerFilter, self).input(**kwargs)
File "/home/charlie/venvs/2017.pyconuk.org/lib/python3.6/site-packages/compressor/filters/base.py", line 196, in input
raise FilterError(err)
compressor.exceptions.FilterError: /bin/sh: lessc: command not found
Could there be a missing requirement?
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.