Compare commits
7 commits
bfd8619505
...
b72f3f3395
Author | SHA1 | Date | |
---|---|---|---|
b72f3f3395 | |||
![]() |
42380643df | ||
2c53acc214 | |||
c41281378b | |||
c75697b221 | |||
23620e178b | |||
63285485ca |
3 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
|||
import os
|
||||
import sys
|
||||
import django
|
||||
from django.utils.version import get_docs_version
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'mamweb.settings'
|
||||
django.setup()
|
||||
|
@ -73,8 +74,8 @@ html_static_path = ['_static']
|
|||
|
||||
# Provázání s jinými dokumentacemi
|
||||
intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
|
||||
'django': ('http://docs.djangoproject.com/en/3.2/',
|
||||
'http://docs.djangoproject.com/en/3.2/_objects/'),}
|
||||
'django': (f'http://docs.djangoproject.com/en/{get_docs_version()}/',
|
||||
f'http://docs.djangoproject.com/en/{get_docs_version()}/_objects/'),}
|
||||
|
||||
# Generování tříd/funkcí/atributů v pořádí jak jsou naprogramované
|
||||
autodoc_member_order = "bysource"
|
||||
|
|
3
mamweb/static/css/admin.css
Normal file
3
mamweb/static/css/admin.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.add-related, .delete-related, .change-related {
|
||||
display: none;
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="shortcut icon" href="{% static 'favicon.ico' %}" type="image/x-icon">
|
||||
<script src="{% static 'js/jquery-1.11.1.js' %}"></script>
|
||||
<link href="{% static 'css/rozliseni.css' %}?version=1" rel="stylesheet">
|
||||
<link href="{% static 'css/admin.css' %}?version=1" rel="stylesheet">
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ LOCAL_TEST_PROD }}web{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue