Commit e5f67254 authored by piks3l's avatar piks3l

push le bordel, on change de technique

parent 96d68b88
......@@ -5,8 +5,10 @@ from bt import models
class ManagerSite(AdminSite):
site_header = 'Manager Site'
manager_site = ManagerSite(name='manager')
class CommentInline(admin.TabularInline):
model = models.Comment
max_num = 1
......
#branding {
font-size: 230%;
}
#user-tools {
font-size: 160%;
}
body {
}
.navbar {
......@@ -12,6 +22,7 @@ body {
z-index: 100;
}
.c-boutonaction {
position: fixed;
bottom: 20px;
......
{% extends "base.html" %}
{% block content %}
<h1>Page Not Found</h1>
<p>What you were looking for is just not there.
<p>What you were looking for is just not there.</p>
{% endblock %}
......@@ -5,8 +5,8 @@
{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.css" %}" />
{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.paper.min.css" %}" />
{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "css/custom.css" %}" />
{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}" />
{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "css/custom.css" %}" />
{% endblock %}
{% block coltype %}colMS{% endblock %}
......
Internal Server Error: /admin/login/
Traceback (most recent call last):
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 394, in login
return login(request, **defaults)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/contrib/auth/views.py", line 57, in login
current_site = get_current_site(request)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/contrib/sites/shortcuts.py", line 15, in get_current_site
return Site.objects.get_current(request)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 60, in get_current
return self._get_site_by_id(site_id)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 39, in _get_site_by_id
site = self.get(pk=site_id)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/query.py", line 328, in get
num = len(clone)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/query.py", line 144, in __len__
self._fetch_all()
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/query.py", line 965, in _fetch_all
self._result_cache = list(self.iterator())
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/query.py", line 238, in iterator
results = compiler.execute_sql()
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
cursor.execute(sql, params)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 318, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: no such table: django_site
Internal Server Error: /admin/
Traceback (most recent call last):
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 164, in get_response
response = response.render()
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/response.py", line 158, in render
self.content = self.rendered_content
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/response.py", line 133, in rendered_content
template = self._resolve_template(self.template_name)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/response.py", line 88, in _resolve_template
new_template = self.resolve_template(template)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/response.py", line 80, in resolve_template
return loader.get_template(template, using=self.using)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/loader.py", line 35, in get_template
return engine.get_template(template_name, dirs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/backends/django.py", line 30, in get_template
return Template(self.engine.get_template(template_name, dirs))
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/engine.py", line 167, in get_template
template, origin = self.find_template(template_name, dirs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/engine.py", line 141, in find_template
source, display_name = loader(name, dirs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/loaders/base.py", line 13, in __call__
return self.load_template(template_name, template_dirs)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/loaders/base.py", line 23, in load_template
template = Template(source, origin, template_name, self.engine)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/base.py", line 191, in __init__
self.nodelist = engine.compile_string(template_string, origin)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/engine.py", line 261, in compile_string
return parser.parse()
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/base.py", line 342, in parse
compiled_result = compile_func(self, token)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 210, in do_extends
nodelist = parser.parse()
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/base.py", line 342, in parse
compiled_result = compile_func(self, token)
File "/home/ct/Documents/projets/respect-my-net/nnmon-env/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 180, in do_block
raise TemplateSyntaxError("'%s' tag with name '%s' appears more than once" % (bits[0], block_name))
TemplateSyntaxError: 'block' tag with name 'content' appears more than once
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment