This are the parts I changed.
\mysite\mysite\settings.py
INSTALLED_APPS = [
'django_bootstrap_calendar',
'blog',
'staff',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
-------------------------------------------------------------------------------------
from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('staff.urls')),
url(r'^blog/', include('blog.urls')),
url(r'^calendar/',include('django_bootstrap_calendar.urls')),
]
-------------------------------------------------------------------------------------
\mysite\django_bootstrap_calendar\admin.py
from django.contrib import admin
from django_bootstrap_calendar.models import CalendarEvent
class CalendarEventAdmin(admin.ModelAdmin):
list_display = ["title", "url", "css_class", "start", "end"]
list_filler = ["title"]
admin.site.register(CalendarEvent,CalendarEventAdmin)
-------------------------------------------------------------------------------------
\mysite\staff\templates\staff\header.html
<!DOCTYPE html>
<html lang="en">
<!DOCTYPE html>
<html lang="en">
<head>
<title>Centro de Dia de Messines</title>
<meta charset="utf-8" />
{% load staticfiles %}
<link rel="stylesheet" href="{% static 'staff/css/bootstrap.min.css' %}" type = "text/css"/>
<meta name="viewport" content = "width=device-width, initial-scale=1.0">
<style type="text/css">
html,
body {
height:100%
}
</style>
</head>
<body class="body" style="background-color:#f6f6f6">
<div class="container-fluid" style="min-height:95%; ">
<div class="row">
<div class="col-sm-4">
<br>
<center>
<img src="{% static 'staff/img/profile.jpg' %}" class="responsive-img" style='max-height:100px;' alt="face">
</center>
</div>
<div class="col-sm-4">
<br>
<center>
<h3>Uma Familia maior</h3>
</center>
</div>
</div><hr>
<div class="row">
<div class="col-sm-3">
<br>
<br>
<!-- Great, til you resize. -->
<!--<div class="well bs-sidebar affix" id="sidebar" style="background-color:#fff">-->
<div class="well bs-sidebar" id="sidebar" style="background-color:#fff">
<ul class="nav nav-pills nav-stacked">
<li><a href='/'>Ínicio</a></li>
<li><a href='/calendar/'>Calendário</a></li>
<li><a href='/blog/'>Blog</a></li>
<li><a href='/contact/'>Contatos</a></li>
</ul>
</div> <!--well bs-sidebar affix-->
</div> <!--col-sm-2-->
<div class="col-sm-3">
<div class='container-fluid'>
<br><br>
{% block content %}
{% endblock %}
</div>
</div>
</div>
</div>
<footer>
<div class="container-fluid" style='margin-left:15px'>
<p><a href="#" target="blank">Contact</a> | <a href="#" target="blank">LinkedIn</a> | <a href="#" target="blank">Twitter</a> | <a href="#" target="blank">Google+</a></p>
</div>
</footer>
</body>
</html>
This about all the stuff I changed, I realize that some code that I still need to change is not changed like Load templatetags, In your template file, base.html file css section and base.html file javascript section. The problem is I do not understand very well where to do this part of the instalation.
If needed I can send you the files so you can replicate easier.