Browse Source

Merge pull request #73 from rafalp/develop

Travis configuration
Rafał Pitoń 12 years ago
parent
commit
c84a8b8c22
3 changed files with 8 additions and 6 deletions
  1. 4 1
      README.md
  2. 3 5
      deployment/settings.py
  3. 1 0
      misago/utils/strings.py

+ 4 - 1
README.md

@@ -1,8 +1,11 @@
-# Misago [![Build Status](https://travis-ci.org/rafalp/Misago.png)](https://travis-ci.org/rafalp/Misago)
+# Misago
 
 
 Misago is an internet forum application written in Python and using Django as its foundation.
 Misago is an internet forum application written in Python and using Django as its foundation.
 Visit project homepage for discussion and demo: <http://misago-project.org>
 Visit project homepage for discussion and demo: <http://misago-project.org>
 
 
+**Master Branch:** [![Build Status](https://travis-ci.org/rafalp/Misago.png?branch=master)](https://travis-ci.org/rafalp/Misago)
+
+**Development Branch:** [![Build Status](https://travis-ci.org/rafalp/Misago.png?branch=develop)](https://travis-ci.org/rafalp/Misago)
 
 
 The Tao AKA Mission Statement
 The Tao AKA Mission Statement
 -----------------------------
 -----------------------------

+ 3 - 5
deployment/settings.py

@@ -20,9 +20,10 @@ ADMINS = ()
 
 
 # Secret key is used by Django and Misago in hashes generation
 # Secret key is used by Django and Misago in hashes generation
 # YOU MUST REPLACE IT with random combination of characters
 # YOU MUST REPLACE IT with random combination of characters
+# NEVER EVER SHARE THIS KEY WITH ANYBODY!
 # Make it messed up and long, this is example of good secret key:
 # Make it messed up and long, this is example of good secret key:
-# JA*^Sd09as809!^*(DSA!K1m12o7ds8a791k1#@!829758!@@ii_*091)
+# yaobeifl1a6hf&3)^uc#^vlu1ud7xp^+*c5zoq*tf)fvs#*o$#
-SECRET_KEY = 'CHANGE-ME!'
+SECRET_KEY = 'CHANGE-ME'
 
 
 # Database connection
 # Database connection
 DATABASES = {
 DATABASES = {
@@ -140,8 +141,5 @@ INSTALLED_THEMES = (
     'admin', # Admin theme always last
     'admin', # Admin theme always last
 )
 )
 
 
-# Make this unique, and don't share it with anybody.
-SECRET_KEY = ''
-
 # Python dotted path to the WSGI application used by Django's runserver.
 # Python dotted path to the WSGI application used by Django's runserver.
 WSGI_APPLICATION = 'deployment.wsgi.application'
 WSGI_APPLICATION = 'deployment.wsgi.application'

+ 1 - 0
misago/utils/strings.py

@@ -7,6 +7,7 @@ except ImportError:
     use_unidecode = False
     use_unidecode = False
 
 
 def slugify(string):
 def slugify(string):
+    string = unicode(string)
     if use_unidecode:
     if use_unidecode:
         string = unidecode(string)
         string = unidecode(string)
     return django_slugify(string)
     return django_slugify(string)