django-modeltranslation with support grappelli.
Project description
# modeltranslation-grappelli
This package allow usage modeltranslation packages with grappelli admin interface.
## Installation
### Requirments
<table>
<tr>
<td>Modeltranslation-grappelli</td><td>Django</td>
</tr><tr>
<td>2.0.0</td><td>1.7</td>
</tr><tr>
<td>1.0.0</td><td>1.4-1.6</td>
</tr>
</table>
### Using pip
```bash
pip install modeltranslation-grappelli
```
### Configure
Include to installed apps.
```python
INSTALLED_APPS = (
...
'modeltranslation_grappelli',
)
```
And inherit your admin class from this mixin.
```python
from modeltranslation_grappelli.admin.mixin import CustomMinTabbedTranslationAdmin
class YourModelAdmin(CustomMinTabbedTranslationAdmin):
pass
```
This package allow usage modeltranslation packages with grappelli admin interface.
## Installation
### Requirments
<table>
<tr>
<td>Modeltranslation-grappelli</td><td>Django</td>
</tr><tr>
<td>2.0.0</td><td>1.7</td>
</tr><tr>
<td>1.0.0</td><td>1.4-1.6</td>
</tr>
</table>
### Using pip
```bash
pip install modeltranslation-grappelli
```
### Configure
Include to installed apps.
```python
INSTALLED_APPS = (
...
'modeltranslation_grappelli',
)
```
And inherit your admin class from this mixin.
```python
from modeltranslation_grappelli.admin.mixin import CustomMinTabbedTranslationAdmin
class YourModelAdmin(CustomMinTabbedTranslationAdmin):
pass
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for modeltranslation-grappelli-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fd298e8a97bd272f90867b16b58d494cc5985c2ce7ea3e156301f61383c2d46 |
|
MD5 | 0d530dda3534225f2530a528e7440870 |
|
BLAKE2b-256 | 8633609a8ea4a72c0b45c542a2489b7fa68db5abaa9ad0e95931660c0b5cca26 |