
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
The django-simple-forms Django app is in an early stage of development and looking for contributors. Priorities are completing tests and documentation. Use at your own risk.
This app is used to build and manage Django forms in the admin without having to write code. Form responses can be viewed or edited in the admin, and reponses can be emailed to any number of recipients our output as PDFs with custom templates. Responses can be downloaded as an Excel spreadsheet.
Run pip install django-simple-forms
.
Add django-simple-forms and its dependencies to your installed apps: ::
INSTALLED_APPS = ( ... 'django.contrib.sites',
'adminsortable2',
'ckeditor',
'django_simple_file_handler',
'django_simple_forms',
)
Run python manage.py migrate
.
Include the django-simple-forms URLconf and the django-simple-file-handler URLconf in your website's urls.py
: ::
urlpatterns = [ ... path( 'forms/', include('django_simple_forms.urls') ), path( 'pdf/', include('django_simple_file_handler.urls'), ), ]
If you are already using the Django sites framework, run python manage.py forms_import_sites
.
You will then need to go to FORMS > Site profiles in your admin site and check to be sure your details are correct.
All new site profiles will be assigned an https://
protocol, so change this if necessary.
If you are not already using the Django sites framework, go to your admin site and, under FORMS > Site profiles, create a profile with your site's information.
The SITE_ID
setting is needed for django-simple-forms. See the Django sites framework documentation <https://docs.djangoproject.com/en/2.2/ref/contrib/sites/>
_ for more information.
Refer to the Django email documentation <https://docs.djangoproject.com/en/2.2/topics/email/>
_ for information on configuring a website to send email.
If you intend to use PDF output, see the Generating PDFs
section of the django-simple-file-handler documentation <https://github.com/jonathanrickard/django-simple-file-handler>
_ for additional configuration information.
forms_import_sites
: Creates a FormsSiteProfile instance for each instance in the Django sites frameworkdelete_unused_addresses
: Deletes email addresses that do not have any forms assigneddelete_expired_responses
: Deletes form responses that have reached or passed their deletion dateinitial_boolean
field in adminXlsxWriter <https://github.com/jmcnamara/XlsxWriter/>
_ in spreadsheet generationemail
can not be used as a field name because it is already used as a hidden honeypot fieldapp_label
and model_name
are used for ease of subclassing and to change get_queryset
label
+ suffix
as the first item that can be accessed as data.0
in a templateoutput_formatted_date_time
and output_text
are used in the default templates, but output_dict
and output_no_br
are also available in most casescreated
and updated
model instance data is also available in HTML and PDF templatescheckbox_select_multiple
class being automatically added to the CheckboxSelectMultiple FAQs
A Django app for creating forms
We found that django-simple-forms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.