A simple Django app to conduct Web-based polls.
Project description
# Django-LteAdmin #
Change the default Django templates to the [LTE](https://almsaeedstudio.com/themes/AdminLTE/index2.html)
This is my first open source project done in Django, I hope it will be useful for you and look forward to suggestions, bugs and collaborations.
### How do I get set up? ###
Instale usando PyPI:
```python
pip install django-lteadmin
```
Add the app ```adminlte``` to ```settings.py```
```python
INSTALLED_APPS = (
'adminlte',
...
)
```
Execute migrate:
```python
python manage.py migrate
```
## What will you see in your admin? ##
### Avatar ###
The ```User``` object will gain a relationship that will store a picture of the avatar.
You can see this in the user-inclusion form.
### Menu Icons ###
Menu icons are set in the Model:
```python
class MyModel(models.Model):
Name = models.CharField(
...
def get_icon_menu_model_class(self):
return 'fa-user'
def get_icon_menu_add_model_class(self):
return 'fa-plus'
def get_icon_menu_change_model_class(self):
return 'fa-edit'
```
### Contribution guidelines ###
To contribute, read [CONTRIBUTING](CONTRIBUTING.md)
### To Do ###
* Create tests
* Maintain menu status after selecting an item
* Organize the code according to the [PEP 8](http://www.python.org/dev/peps/pep-0008/)
Change the default Django templates to the [LTE](https://almsaeedstudio.com/themes/AdminLTE/index2.html)
This is my first open source project done in Django, I hope it will be useful for you and look forward to suggestions, bugs and collaborations.
### How do I get set up? ###
Instale usando PyPI:
```python
pip install django-lteadmin
```
Add the app ```adminlte``` to ```settings.py```
```python
INSTALLED_APPS = (
'adminlte',
...
)
```
Execute migrate:
```python
python manage.py migrate
```
## What will you see in your admin? ##
### Avatar ###
The ```User``` object will gain a relationship that will store a picture of the avatar.
You can see this in the user-inclusion form.
### Menu Icons ###
Menu icons are set in the Model:
```python
class MyModel(models.Model):
Name = models.CharField(
...
def get_icon_menu_model_class(self):
return 'fa-user'
def get_icon_menu_add_model_class(self):
return 'fa-plus'
def get_icon_menu_change_model_class(self):
return 'fa-edit'
```
### Contribution guidelines ###
To contribute, read [CONTRIBUTING](CONTRIBUTING.md)
### To Do ###
* Create tests
* Maintain menu status after selecting an item
* Organize the code according to the [PEP 8](http://www.python.org/dev/peps/pep-0008/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-lteadmin-0.1.0a0.tar.gz
(973.1 kB
view hashes)
Built Distribution
Close
Hashes for django_lteadmin-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a6aede401e21ef4f2b906c1aca2c9cd24ed28d26d9d1ff0daebcf05a5013ca |
|
MD5 | 9448d123858d0b4aa74cc3676d277c05 |
|
BLAKE2b-256 | 1e9bca114712c3b6f88ee5490daaf6c24db65a1040940040d11bb6835c5d5f55 |