This repository was archived by the owner on Dec 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +40
-23
lines changed Expand file tree Collapse file tree 6 files changed +40
-23
lines changed Original file line number Diff line number Diff line change
1
+ # Authors
2
+
3
+ We'd like to thank the following people for their contributions.
4
+
5
+ - Paulo Truta < jpt@eurotux.com >
6
+ - Sandro Rodrigues < srtabs@gmail.com >
7
+ - Tiago Brito < tfb@eurotux.com >
8
+ - Tiago Loureiro < tiagocostaloureiro@gmail.com >
Original file line number Diff line number Diff line change
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
+ and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
+
7
+ ## 0.1.0 - 2017-09-13
8
+ - First release on PyPi
Original file line number Diff line number Diff line change 4
4
[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/a64f03c2bd344561bc21e05c23aa04fb )] ( https://www.codacy.com/app/srtabs/django-ajax-views?utm_source=github.com& ; utm_medium=referral& ; utm_content=dipcode-software/django-ajax-views& ; utm_campaign=Badge_Grade )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/dipcode-software/django-ajax-views/badge.svg?branch=master )] ( https://coveralls.io/github/dipcode-software/django-ajax-views?branch=master )
6
6
7
- Django module to easily use ajax forms .
7
+ Django module to easily use generic views with ajax .
8
8
9
- ## Install
9
+ Table of contents:
10
+ * [ How to install] ( #how-to-install ) ;
11
+ * [ License] ( #license ) .
12
+
13
+ ## How to install
10
14
To install the app run :
11
15
``` shell
12
16
pip install django-ajax-views
13
17
```
14
18
or add it to the list of requirements of your project.
15
19
16
- ## Running tests
17
- To run tests we use tox:
20
+ Then add 'ajax\_ views' to your INSTALLED_APPS.
21
+ ``` python
22
+ INSTALLED_APPS = [
23
+ ...
24
+ ' ajax_views' ,
25
+ ]
18
26
```
19
- # Run unit and flake
20
- $ tox
21
27
22
- # Run only unit tests
23
- $ tox -e py27
24
28
25
- # Run only flake8 tests
26
- $ tox -e flake8
29
+ ## License
27
30
28
- # Run coverage tests
29
- $ tox -e coverage
30
- ```
31
+ MIT license, see the LICENSE file. You can use obfuscator in open source projects and commercial products.
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ from __future__ import unicode_literals
3
+
4
+
1
5
default_app_config = 'ajax_views.apps.AjaxViewsConfig'
6
+
7
+ __version__ = '0.1.0'
Original file line number Diff line number Diff line change 2
2
from __future__ import absolute_import , unicode_literals
3
3
4
4
from django .views .generic import (
5
- TemplateView , CreateView , UpdateView , DeleteView )
5
+ CreateView , DeleteView , TemplateView , UpdateView )
6
6
7
- from .mixins import PartialAjaxMixin , FormAjaxMixin , AjaxResponseMixin
7
+ from .mixins import AjaxResponseMixin , FormAjaxMixin , PartialAjaxMixin
8
8
9
9
10
10
class TemplateAjaxView (PartialAjaxMixin , TemplateView ):
Original file line number Diff line number Diff line change 1
- import os
2
1
from setuptools import find_packages , setup
3
2
4
- with open (os .path .join (os .path .dirname (__file__ ), 'README.md' )) as readme :
5
- README = readme .read ()
6
-
7
- os .chdir (os .path .normpath (os .path .join (os .path .abspath (__file__ ), os .pardir )))
8
3
9
4
setup (
10
5
name = 'django-ajax-partials' ,
11
- version = '0.1.0-alpha' ,
6
+ version = __import__ ( "ajax_views" ). __version__ ,
12
7
packages = find_packages (),
13
8
include_package_data = True ,
14
9
license = 'MIT' ,
15
- description = 'Django module to easily use ajax forms.' ,
16
- long_description = README ,
10
+ description = 'Django module to easily use generic views with ajax.' ,
17
11
url = 'https://github.com/dipcode-software/django-ajax-partials/' ,
18
12
author = 'Dipcode' ,
19
13
author_email = 'info@dipcode.com' ,
You can’t perform that action at this time.
0 commit comments