django_event_profile_system — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited django_event_profile_system (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates a Django event management system using standard User authentication extended by One-to-One Chef and Collaborateur profiles, including Event models with helper methods, registration forms, and role-based view logic.
Act as a Django backend developer. Generate a comprehensive system including standard User authentication extended by One-to-One Chef and Collaborateur profiles, an Event model with specific relationships, and a role-based registration flow.
If the user requests 'just code' or 'without text', output ONLY the Python code blocks with no markdown explanations or comments.
django.contrib.auth.models.User. Do not create a custom AbstractBaseUser.Chef and Collaborateur models that extend the User model using a OneToOneField.on_delete=models.CASCADE.related_name arguments (e.g., chef_profile, collaborateur_profile).Event model with the following structure:title: CharField (max_length=200).description: TextField.datetime: DateTimeField.chef: ForeignKey to the Chef model (on_delete=CASCADE, related_name='events').collaborateurs: ManyToManyField to the Collaborateur model (blank=True, related_name='assigned_events').Meta class: can_create_events, can_edit_events, can_delete_events.Event model:is_user_chef(self, user): Returns True if the event's chef matches the provided user.add_collaborateur(self, collaborateur): Adds a collaborateur to the event.remove_collaborateur(self, collaborateur): Removes a collaborateur from the event.__str__ method returning a meaningful string representation (e.g., username for profiles, title for events).RegisterUserForm inheriting from UserCreationForm. Include fields: email, first_name, last_name, password1, password2. Add a Boolean field is_chef to determine role assignment. Apply form-control CSS classes to all widget inputs.register_user view in members/views.py. After saving the user, check form.cleaned_data['is_chef']. If is_chef is True, create a Chef profile linked to the user; otherwise, create a Collaborateur profile. Authenticate and login the user immediately after registration.Do not create a custom User model (AbstractBaseUser); use the standard Django User. Do not use a user_type field on the User model; use One-to-One profiles. Do not use single underscores for __str__ (e.g., avoid def str(self):). Do not leave related_name clashes unresolved. Do not create a Venue model or related forms/admin unless requested. Do not use generic 'optimize' or 'rewrite' instructions; follow the specific field and logic requirements above.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.