Merge pull request #7 from R4stl1n/master

Updated
This commit is contained in:
Mr McClain 2016-02-11 16:21:19 -06:00
commit d9da09437b
4 changed files with 17 additions and 5 deletions

View File

@ -5,7 +5,7 @@ evelink
dnspython dnspython
passlib passlib
requests>=2.9.1 requests>=2.9.1
requests_cache #requests_cache
# Django Stuff # # Django Stuff #
django==1.6.5 django==1.6.5

View File

@ -2,10 +2,10 @@ from django.conf import settings
import logging import logging
import requests import requests
import requests_cache #import requests_cache
import json import json
requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600) #requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600)
class EveWhoManager(): class EveWhoManager():
def __init__(self): def __init__(self):

View File

@ -43,8 +43,16 @@
<body> <body>
<div id="logo"> <div id="logo">
<p style="text-align:center"> <p style="text-align:center">
<img src="{% static 'img/index_images/logo.png' %}" border="0"> <!--Uncomment the below line to use a custom logo-->
</p> <!--<img src={% static 'img/index_images/logo.png' %}" border="0">-->
<!--Comment the below block to use a custom logo-->
{% if IS_CORP %}
<img src="https://image.eveonline.com/Corporation/{{ CORP_ID }}_256.png" border="0">
{% else %}
<img src="https://image.eveonline.com/Alliance/{{ ALLIANCE_ID }}_128.png" border="0">
{% endif %}
<!--Stop commenting here-->
</p>
</div> </div>
<div id="content"> <div id="content">
<p style="text-align:center"> <p style="text-align:center">

4
update.sh Normal file
View File

@ -0,0 +1,4 @@
pip install --upgrade -r requirements.txt
yes yes | python manage.py syncdb
yes yes | python manage.py evolve --hint --execute
yes yes | python manage.py collectstatic