Alexandr пре 4 година
родитељ
комит
caff0464b3
4 измењених фајлова са 4 додато и 2 уклоњено
  1. 2 0
      .gitignore
  2. 1 1
      blog/templates/blog/base.html
  3. 0 0
      manage.py
  4. 1 1
      mysite/settings.py

+ 2 - 0
.gitignore

@@ -5,3 +5,5 @@ myvenv
 db.sqlite3
 /static
 .DS_Store
+.idea
+venv

+ 1 - 1
blog/templates/blog/base.html

@@ -10,7 +10,7 @@
     <body>
         <div class="page-header">
             <h1>
-              <a href="https://en.wikipedia.org/wiki/Django" class="external_link" id="link_to_wiki_page">
+              <a href="/" class="external_link" id="link_to_wiki_page">
                 Django Girls Blog
               </a>
               {% if user.is_authenticated %}


+ 1 - 1
mysite/settings.py

@@ -25,7 +25,7 @@ SECRET_KEY = 'd23!an&-k-t@)ty(*@h747_-6$t0&o3y#!8t@^va#f0f+u!49c'
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = True
 
-ALLOWED_HOSTS = ['127.0.0.1', '192.168.137.1', 'scadl.pythonanywhere.com']
+ALLOWED_HOSTS = ['127.0.0.1', '192.168.137.1', 'scadgame.ddns.net']
 
 
 # Application definition