semvec/pypi-packages huggingface dataset:
Faker-Mail 1.0
For developers
Keywords: Faker_Mail


<h1 align="center">Fake_mail</h1>
<p align="center">It's a beautiful project that helps developers program.</p>

![](https://img.shields.io/badge/NOVA-TOOLS-orange?style=for-the-badge&logo=python.svg) 
<p align="center">
<a href="#"><img title="Made in Jo" src="https://img.shields.io/badge/MADE%20IN-Jo-red.svg?style=for-the-badge&logo=github"></a>

</p>
<p align="center">
<img alt="Fake_mail' Github Stats" src="https://github-readme-stats.vercel.app/api?username=NovaTools4&show_icons=true&include_all_commits=true&hide_border=true" />

</p>
<p align="center">
<a href="#"><img title="telegram Num" src="https://img.shields.io/badge/telegram%20Num-The Jordan Ghost-red.svg?style=for-the-badge&logo=telegram"></a>
</p>
<p align="center">
<a href="https://github.com/NovaTools4/followers"><img title="Followers" src="https://img.shields.io/github/followers/NovaTools4?color=blue&style=flat-square"></a>
</p>

## Installation :
```
pip install Fake-mail
```
### Logan Usage

``` python
from Fake_mail import Email

## Follow us on social media
[![Github](https://img.shields.io/badge/Github-NovaTools-orange?style=for-the-badge&logo=github)](https://github.com/NovaTools4/)
[![Telegram](https://img.shields.io/badge/Telegram-NovaTools-orange?style=for-the-badge&logo=Telegram)](https://t.me/VZX_TEAM)
django-toggled-widgets 0.8
Base classes and mixins to facilitate toggling visibility between multiple Django admin fields.
Requires Python: >=3.6

# Django Toggled Widgets

This package makes it possible to toggle between fields in the Django admin. When a form containing toggled fields is submitted, any field that did not have visibility upon submission is automatically set empty in the cleaned data.

## Usage

1. Add "toggled_widgets" to your `INSTALLED_APPS setting.

2. Add `toggled_widgets.ToggledWidgetFormMixin` to the MRO of any form class that requires the toggle behavior.

3. Set the form class' `toggle_groups` attribute to an iterable of tuples that describe the toggle relationship.

4. Add `toggled_widgets.ToggledWidgetAdminMixin to the MRO of any model admin class that uses a form containing the toggle behavior.

5. Optionally add `toggled_widgets.ToggledWidgetMixin` to the MRO of the toggled widget classes in order to gain more control over the appearance of the toggle control (e.g. by defining the `metafield_label` to customize the toggle control's label).

## `ModelForm` configuration

In the simplest implementation, each element in the tuples contained in the form class' `toggle_groups` attribute is a string whose value is a field name. The admin form will provide a control to toggle between these fields. For example:

```python
class SomeModelForm(ToggledWidgetFormMixin, ModelForm):
    toggle_groups = [
        ('some_field', 'some_other_field')
    ]
```

Any element in the tuple may also be an iterable containing multiple field names. In this case, any field name past the first in this iterable will toggle sympathetically along with the field named in the first item.

```python
class SomeModelForm(ToggledWidgetFormMixin, ModelForm):
    toggle_groups = [
        ('some_field', ('some_other_field', 'some_third_field'))
    ]
```