Merge branch 'master' of github.com:danielquinn/paperless
This commit is contained in:
		
						commit
						6172dcad1c
					
				@ -25,6 +25,14 @@ it... because paper.  I wrote this to make my life easier.
 | 
				
			|||||||
   In most cases, no one will care or notice.
 | 
					   In most cases, no one will care or notice.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Stability
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Paperless is still under active development (just look at the git commit
 | 
				
			||||||
 | 
					history) so don't expect it to be 100% stable.  I'm using it for my own
 | 
				
			||||||
 | 
					documents, but I'm crazy like that.  If you use this and it breaks something,
 | 
				
			||||||
 | 
					you get to keep all the shiny pieces.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Requirements
 | 
					## Requirements
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This is all really a quite simple, shiny, user-friendly wrapper around some very
 | 
					This is all really a quite simple, shiny, user-friendly wrapper around some very
 | 
				
			||||||
 | 
				
			|||||||
@ -11,6 +11,9 @@ class Sender(models.Model):
 | 
				
			|||||||
    name = models.CharField(max_length=128, unique=True)
 | 
					    name = models.CharField(max_length=128, unique=True)
 | 
				
			||||||
    slug = models.SlugField()
 | 
					    slug = models.SlugField()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    class Meta(object):
 | 
				
			||||||
 | 
					        ordering = ("name",)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def save(self, *args, **kwargs):
 | 
					    def save(self, *args, **kwargs):
 | 
				
			||||||
        if not self.slug:
 | 
					        if not self.slug:
 | 
				
			||||||
            self.slug = slugify(self.name)
 | 
					            self.slug = slugify(self.name)
 | 
				
			||||||
 | 
				
			|||||||
@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 | 
				
			|||||||
SECRET_KEY = 'e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee'
 | 
					SECRET_KEY = 'e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# SECURITY WARNING: don't run with debug turned on in production!
 | 
					# SECURITY WARNING: don't run with debug turned on in production!
 | 
				
			||||||
DEBUG = False
 | 
					DEBUG = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ALLOWED_HOSTS = []
 | 
					ALLOWED_HOSTS = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user