I am using Django and I don't know why the post that I've just created in http://127.0.0.1:8000/admin/ and that I can see in local aren't available online. Of course I did deploy and it went well (I can see a new css layout). I am new so I'd also like to know where are posts created saved. I attach the code that is displayed and that one that isn't.
This is showed:
{% load staticfiles %}
<html>
<head>
<title>Grecipsum</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
</head>
<body>
<body>
<div class="page-header">
<h1><a href="/">Splash Greco</a></h1>
</div>
<div class="content container">
<div class="row">
<div class="col-md-8">
{% block content %}
{% endblock %}
</div>
</div>
</div>
</body>
</body>
</html>
While this isn't:
{% extends 'blog/base.html' %}
{% block content %}
<div class="post">
{% if post.published_date %}
<div class="date">
{{ post.published_date }}
</div>
{% endif %}
<h1>{{ post.title }}</h1>
<p>{{ post.text|linebreaksbr }}</p>
</div>
{% endblock %}