-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
731 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
.run/django-awesomplete.run.xml → .idea/runConfigurations/awesomplete.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Contribution | ||
|
||
## Development | ||
|
||
#### Setup | ||
|
||
1. Clone the repository | ||
```shell | ||
git clone https://github.com/dldevinc/django-awesomplete | ||
``` | ||
1. Create a virtualenv | ||
```shell | ||
cd django-awesomplete | ||
virtualenv .venv | ||
``` | ||
1. Activate virtualenv | ||
```shell | ||
source .venv/bin/activate | ||
``` | ||
1. Install dependencies as well as a local editable copy of the library | ||
```shell | ||
pip install -r ./requirements.txt | ||
pip install -e . | ||
``` | ||
1. Run test project | ||
|
||
```shell | ||
python3 manage.py migrate | ||
python3 manage.py loaddata tests/fixtures.json | ||
``` | ||
|
||
```shell | ||
python3 manage.py runserver | ||
``` | ||
|
||
> Django admin credentials: `admin` / `admin` | ||
|
||
#### Pre-Commit Hooks | ||
|
||
We use [`pre-commit`](https://pre-commit.com/) hooks to simplify linting | ||
and ensure consistent formatting among contributors. Use of `pre-commit` | ||
is not a requirement, but is highly recommended. | ||
|
||
```shell | ||
pip install pre-commit | ||
pre-commit install | ||
``` | ||
|
||
Commiting will now automatically run the local hooks and ensure that | ||
your commit passes all lint checks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.5.2" | ||
__version__ = "0.6.0" |
47 changes: 27 additions & 20 deletions
47
...te/static/awesomplete/css/awesomplete.css → ...ic/awesomplete/css/vendor/awesomplete.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.aligned .awesomplete ul { | ||
padding-left: 0; /* override django styles */ | ||
} |
Oops, something went wrong.