Skip to content

Commit

Permalink
updating templates to use django 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
priestc committed Feb 1, 2020
1 parent 6d8536f commit 5c991cc
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 13 deletions.
2 changes: 2 additions & 0 deletions multiexplorer/multiexplorer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@
IGNORE_WALLET_CRYPTOS = ['rdd', 'ppc', 'xcp', 'part', 'mgc']
APPEND_SLASH = True

ALLOWED_HOSTS = ['localhost']

from .local_settings import *
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<style>
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/api_docs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
{% load staticfiles %}
{% load static %}
<html lang="en">
<head>
<title>MultiExplorer</title>
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/block_lookup.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<style>
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/crypto_data.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<link rel="stylesheet" href="{% static 'spinner.css' %}">
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<style>
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/paper_wallet.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<section id="generator">
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/replay_attack.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<section id="generator">
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/single_address.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block content %}
<style>
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/multiexplorer/templates/test_template.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<doctype html>
{% load staticfiles %}
{% load static %}

<html>
<head>
Expand Down
16 changes: 16 additions & 0 deletions multiexplorer/multiexplorer/wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
WSGI config for tutuvideo3 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'multiexplorer.settings')

application = get_wsgi_application()
2 changes: 1 addition & 1 deletion multiexplorer/wallet/templates/login.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}

<div id="wallet_front_screen">
<div class="center_box" id="login_box">
Expand Down
2 changes: 1 addition & 1 deletion multiexplorer/wallet/templates/wallet_home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}

{% block extra_menu_items %}

Expand Down

0 comments on commit 5c991cc

Please sign in to comment.