@@ -1,3 +1,6 @@ | |||
# Default ignored files | |||
/workspace.xml | |||
/workspace.xml | |||
# Datasource local storage ignored files | |||
/dataSources/ | |||
/dataSources.local.xml |
@@ -0,0 +1,22 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<project version="4"> | |||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true"> | |||
<data-source source="LOCAL" name="db" uuid="d9ef4968-0bb1-40c4-8bac-a12a0fb7e9f1"> | |||
<driver-ref>sqlite.xerial</driver-ref> | |||
<synchronize>true</synchronize> | |||
<jdbc-driver>org.sqlite.JDBC</jdbc-driver> | |||
<jdbc-url>jdbc:sqlite:$PROJECT_DIR$/db.sqlite3</jdbc-url> | |||
<driver-properties> | |||
<property name="enable_load_extension" value="true" /> | |||
</driver-properties> | |||
<libraries> | |||
<library> | |||
<url>file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.25.1/sqlite-jdbc-3.25.1.jar</url> | |||
</library> | |||
<library> | |||
<url>file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.25.1/license.txt</url> | |||
</library> | |||
</libraries> | |||
</data-source> | |||
</component> | |||
</project> |
@@ -1,3 +1,7 @@ | |||
from django.db import models | |||
class Notice(models.Model): | |||
notice_title = models.CharField(max_length=80) | |||
notice_text = models.CharField(max_length=400) | |||
pub_start = models.DateTimeField() | |||
pub_end = models.DateTimeField() | |||
# Create your models here. |
@@ -8,7 +8,7 @@ | |||
<p class="lead">Hier ist meine Internet Seite Aufgrung mein Projektarbeit für der Winter Semester 2019.</p> | |||
<hr class="my-4"> | |||
<p>Und der Bericht wird am ende der Semester abgegeben werden und danach vorgetragen.</p> | |||
<a class="btn btn-primary btn-lg" href="#" role="button">Return</a> | |||
<a class="btn btn-primary btn-lg" href="http://www.google.de" role="button">Weiter</a> | |||
</div> | |||
<h1>Index der posts Applikation</h1> | |||
{% endblock %} |
@@ -4,3 +4,10 @@ from django.shortcuts import render | |||
# Create your views here. | |||
def index(request): | |||
return render(request, 'posts/index.html') | |||
@@ -38,7 +38,7 @@ | |||
Dropdown | |||
</a> | |||
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> | |||
<a class="dropdown-item" href="#">Action</a> | |||
<a class="dropdown-item" href="http://www.kavo.com">Kavo</a> | |||
<a class="dropdown-item" href="#">Another action</a> | |||
<div class="dropdown-divider"></div> | |||
<a class="dropdown-item" href="#">Something else here</a> |