bgneal@1: Copyright (c) 2007-2008, Justin C. Driscoll bgneal@1: All rights reserved. bgneal@1: bgneal@1: Redistribution and use in source and binary forms, with or without modification, bgneal@1: are permitted provided that the following conditions are met: bgneal@1: bgneal@1: 1. Redistributions of source code must retain the above copyright notice, bgneal@1: this list of conditions and the following disclaimer. bgneal@1: bgneal@1: 2. Redistributions in binary form must reproduce the above copyright bgneal@1: notice, this list of conditions and the following disclaimer in the bgneal@1: documentation and/or other materials provided with the distribution. bgneal@1: bgneal@1: 3. Neither the name of django-photologue nor the names of its contributors may be used bgneal@1: to endorse or promote products derived from this software without bgneal@1: specific prior written permission. bgneal@1: bgneal@1: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND bgneal@1: ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED bgneal@1: WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE bgneal@1: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR bgneal@1: ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES bgneal@1: (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; bgneal@1: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON bgneal@1: ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT bgneal@1: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS bgneal@1: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.