
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
A Stacks application for generating static HTML pages. Stacks is an in-development, open-source initiative of WGBH (http://www.wgbh.org/)
django-versatileimagefield
>= 1.0.2django-textplusstuff
>= 0.4published
queryset.extra_context
.STACKSPAGE_TEMPLATES
setting.StacksPage
model.STACKSPAGE_TEMPLATES
Default:
STACKSPAGE_TEMPLATES = (
('stacks_page/default_page_template.html', 'Default Page Template'),
)
A list of templates you can select for a page.
Example:
STACKSPAGE_TEMPLATES = (
('path/to/template_file.html', 'Human Readable Template Name'),
('path/to/another/template_file.html', 'Human Readable Template Name #2'),
)
STACKSPAGE_STATIC_PUBLISH_SERVERS
Used to define servers where pages can be published to.
STACKSPAGE_STATIC_PUBLISH_SERVERS = {
'staging': {
'server': 'user@staging_server',
'webroot_folder': '/absolute/path/to/webroot/on/server',
'base_url': 'http://staging.somesite.com'
},
'production': {
'server': 'user@prod_server',
'webroot_folder': '/absolute/path/to/webroot/on/server',
'base_url': 'http://www.somesite.com'
}
}
TODO: Document 'path_processor'!
STACKSPAGE_BUILD_DIRECTORY
A path on local disc where statically generated StacksPage instances should be saved-to.
STACKSPAGE_BUILD_DIRECTORY = '/path/to/folder'
For local development, you'll probably want to set this dynamically. The following code will create a directory named stackspage_build
at the same level as your project's settings file:
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__)
STACKSPAGE_BUILD_DIRECTORY = os.path.join(BASE_DIR, 'stackspage_build')
STACKSPAGE_URL_PREFIX
The path your Stacks application is running from, defaults to '/'.
FAQs
A Stacks application for generating static HTML pages.
We found that stacks-page 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.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.