• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iplweb / bpp / da7dd963-c5b3-44a5-91d8-08db9f55e4f1

11 Aug 2025 09:44AM UTC coverage: 46.068% (-0.6%) from 46.671%
da7dd963-c5b3-44a5-91d8-08db9f55e4f1

push

circleci

mpasternak
Merge branch 'release/v202508.1184'

164 of 864 new or added lines in 29 files covered. (18.98%)

3127 existing lines in 197 files now uncovered.

17450 of 37879 relevant lines covered (46.07%)

1.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
src/bpp/forms/__init__.py
1
from crispy_forms.helper import FormHelper
3✔
2
from crispy_forms.layout import Hidden
3✔
3
from crispy_forms_foundation.layout import ButtonHolder, Fieldset, Layout, Submit
3✔
4

5
from django.contrib.auth import REDIRECT_FIELD_NAME
3✔
6
from django.contrib.auth.forms import AuthenticationForm
3✔
7

8

9
class MyAuthenticationForm(AuthenticationForm):
3✔
10
    def __init__(self, request=None, *args, **kw):
3✔
UNCOV
11
        self.helper = FormHelper()
1✔
UNCOV
12
        self.helper.form_class = "custom"
1✔
UNCOV
13
        self.helper.form_action = "."
1✔
UNCOV
14
        self.helper.layout = Layout(
1✔
15
            Fieldset(
16
                "Zaloguj się!",
17
                "username",
18
                "password",
19
                Hidden(REDIRECT_FIELD_NAME, """"{{next}}"""),
20
            ),
21
            ButtonHolder(
22
                Submit(
23
                    "submit",
24
                    "Zaloguj się",
25
                    css_id="id_submit",
26
                    css_class="submit button",
27
                ),
28
            ),
29
        )
UNCOV
30
        AuthenticationForm.__init__(self, request, *args, **kw)
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc