معرفی شرکت ها


django-cradmin-9.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A role based admin UI for Django that produces a user friendly and beautiful UI.
ویژگی مقدار
سیستم عامل -
نام فایل django-cradmin-9.2.0
نام django-cradmin
نسخه کتابخانه 9.2.0
نگهدارنده []
ایمیل نگهدارنده ['Espen Angell Kristiansen <post@appresso.no>, Tor Johansen <post@appresso.no>, Stian Julseth <stian@appresso.no>, Eskil Nordland <eskil@appresso.no>, Jim Nordal <jim@appresso.no>']
نویسنده Tor Johansen, Vegard Angell, Magne Westlie
ایمیل نویسنده Espen Angell Kristiansen <post@appresso.no>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/django-cradmin/
مجوز Copyright (c) 2014, Appresso AS All rights reserved. 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. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Appresso AS nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 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.
# Django cradmin Django custom role based admin UI. Django cradmin is in BETA. The system is fairly stable, but: - We do not have getting started guides. - We should have better tests before release. Some parts have been prototyped a lot while we tested out different concepts, and they need a complexity review and better tests. - Works with Django 4 and python >=3.8,<3.11 ## Develop Requires: - https://github.com/pyenv/pyenv ### Use conventional commits for GIT commit messages See https://www.conventionalcommits.org/en/v1.0.0/. You can use this git commit message format in many different ways, but the easiest is: - Use commitizen: https://commitizen-tools.github.io/commitizen/commit/ - Use an editor extension, like https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits for VScode. - Just learn to write the format by hand (can be error prone to begin with, but it is fairly easy to learn). ### Install hatch and commitizen NOTE: You only need hatch if you need to build releases, and you only need commitizen for releases OR to make it easy to follow conventional commits for your commit messages (see _Use conventional commits for GIT commit messages_ above). First install pipx with: ``` $ brew install pipx $ pipx ensurepath ``` Then install hatch and commitizen: ``` $ pipx install hatch $ pipx install commitizen ``` See https://github.com/pypa/pipx, https://hatch.pypa.io/latest/install/ and https://commitizen-tools.github.io/commitizen/ for more install alternatives if needed, but we really recommend using pipx since that is isolated. ### Install development dependencies Install a local python version with pyenv: ``` $ pyenv install 3.10 $ pyenv local 3.10 ``` #### Create virtualenv ``` $ ./recreate-virtualenv.sh ``` Alternatively, create virtualenv manually (this does the same as recreate-virtualenv.sh): ``` $ python -m venv .venv ``` the ./recreate-virtualenv.sh script is just here to make creating virtualenvs more uniform across different repos because some repos will require extra setup in the virtualenv for package authentication etc. #### Install dependencies ``` $ python -m venv .venv $ source .venv/bin/activate $ pip install -e ".[dev, test]" ``` ### Run dev server ``` $ source .venv/bin/activate # enable virtualenv $ ievv devrun ``` ### Run tests ``` $ source .venv/bin/activate # enable virtualenv $ pytest django_cradmin ``` ## Docs http://django-cradmin.readthedocs.org ## License 3-clause BSD license. See the LICENSE file in the same directory as this readme file. ## How to release django_cradmin First make sure you have NO UNCOMITTED CHANGES! ### Buildstatic Remove the previous built static files: ``` $ git rm -r django_cradmin/apps/django_cradmin_js/static/django_cradmin_js/ django_cradmin/apps/django_cradmin_styles/static/django_cradmin_styles/ ``` #### Bump version and add changelog ``` $ cz bump --files-only --changelog ``` #### Build static files Create new production static files ``` $ ievv buildstatic --production ``` Commit static files __NB__: Make sure you also commit `pyproject.toml` and `django_cradmin/__init__.py`, as the new version is in these files now. ``` $ git add django_cradmin/apps/django_cradmin_js/static/django_cradmin_js/ django_cradmin/apps/django_cradmin_styles/static/django_cradmin_styles/ ``` Commit with the message `refactor(buildstatic): new version` #### Make tag and push Create tag with the current version ``` $ git tag $(cz version --project) $ git push && git push --tags ``` ### What if the release fails? See _How to revert a bump_ in the [commitizen FAQ](https://commitizen-tools.github.io/commitizen/faq/#how-to-revert-a-bump). ## Release to pypi: ``` $ hatch build -t sdist $ hatch publish $ rm dist/* # optional cleanup ```


نیازمندی

مقدار نام
- appresso-sphinx-extensions
- django<5.0.0,>=4.0.0
- djangorestframework
- html2text
- ievv-opensource<10.0.0,>=9.2.2
- importlib-metadata
xtr beautifulsoup4;
xtr django-dbdev;
xtr flake8;
xtr html5lib;
xtr ipython;
xtr markdown;
xtr mock-django;
xtr psycopg2;
xtr pygments;
xtr pythonkss;
xtr sphinx;
xtr sphinx-rtd-theme;
xtr tox;
xtr twine;
xtr coverage;
xtr django-debug-toolbar;
xtr htmls;
xtr model-bakery;
xtr pytest;
xtr pytest-django;
xtr pytest-env;


نحوه نصب


نصب پکیج whl django-cradmin-9.2.0:

    pip install django-cradmin-9.2.0.whl


نصب پکیج tar.gz django-cradmin-9.2.0:

    pip install django-cradmin-9.2.0.tar.gz