Navigation Menu

Skip to content

Commit

Permalink
improve setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ouhouhsami committed Jan 11, 2013
1 parent ead3bc9 commit 302627c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
51 changes: 27 additions & 24 deletions LICENSE
@@ -1,24 +1,27 @@
* Copyright (c) 1998, Regents of the University of California Copyright (c) 2013 Samuel Goldszmidt and contributors.
* All rights reserved. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright notice,
* * Redistributions in binary form must reproduce the above copyright this list of conditions and the following disclaimer.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution. 2. Redistributions in binary form must reproduce the above copyright
* * Neither the name of the University of California, Berkeley nor the notice, this list of conditions and the following disclaimer in the
* names of its contributors may be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission.
* 3. Neither the name of Django nor the names of its contributors may be used
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY to endorse or promote products derived from this software without
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED specific prior written permission.
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,3 +1,4 @@
include LICENSE include LICENSE
include *.md
recursive-include progressbarupload/templates * recursive-include progressbarupload/templates *
recursive-include docs * recursive-include docs *
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -35,7 +35,7 @@ Requirements :
INSTALLED_APPS += ('progressbarupload', ) INSTALLED_APPS += ('progressbarupload', )
``` ```


3. Add "progressbarupload.uploadhandler.ProgressBarUploadHandler" to your FILE_UPLOAD_HANDLERS setting: 3. Add "progressbarupload.uploadhandler.ProgressBarUploadHandler" to your FILE_UPLOAD_HANDLERS setting


```python ```python
FILE_UPLOAD_HANDLERS = ( FILE_UPLOAD_HANDLERS = (
Expand All @@ -45,7 +45,7 @@ Requirements :
) )
``` ```


4. Include the progressbarupload URLconf in your project urls.py: 4. Include the progressbarupload URLconf in your project urls.py


``` ```
(r'^progressbarupload/', include('progressbarupload.urls')), (r'^progressbarupload/', include('progressbarupload.urls')),
Expand Down

0 comments on commit 302627c

Please sign in to comment.