fuck it im done
static files dont want to show up. I literally cannot serve static files
This commit is contained in:
@ -1,10 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>test 1</h1>
|
||||
</body>
|
||||
<html>
|
||||
<head>
|
||||
<title>Make Profile</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<center>
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4">DataFlair Django File Uploading</h1>
|
||||
{% block replace %}
|
||||
<p class="lead">To make a user profile and upload the files fill this form</p>
|
||||
<hr class="my-4">
|
||||
<form method="POST" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<input type="submit" class="btn btn-primary btn-lg" name="register">
|
||||
</div>
|
||||
</center>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user