notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-dj21-django-cors-headers Handles server headers required for Cross-Origin Resource Sharing
3.0.2 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port 3.0.2Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2019-02-11 12:03:08
Last Update: 2019-06-21 10:36:06
SVN Revision: 504779
Also Listed In: python
License: MIT
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py36-dj21-django-cors-headers>0:www/py-dj21-django-cors-headers
  • py36-django-cors-headers
  • py36-dj22-django-cors-headers
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port: cd /usr/ports/www/py-dj21-django-cors-headers/ && make install clean
To add the package: pkg install py36-dj21-django-cors-headers
PKGNAME: py36-dj21-django-cors-headers
Package flavors (<flavor>: <package>)
  • py36: py36-dj21-django-cors-headers

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py36-setuptools>0 : devel/py-setuptools@py36
  2. python3.6 : lang/python36
Runtime dependencies:
  1. py36-django21>0 : www/py-django21@py36
  2. py36-setuptools>0 : devel/py-setuptools@py36
  3. python3.6 : lang/python36
This port is required by:
for Build
  1. deskutils/py-paperless
for Run
  1. deskutils/py-paperless

Configuration Options


Master Sites:
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
      People using Poudriere 3.2+ and binary packages do not have to do anything.
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
        # make FLAVOR=py36 install

Number of commits found: 4

Commit History - (may be incomplete: see SVNWeb link above for full details)
21 Jun 2019 09:36:06
Original commit files touched by this commit  3.0.2
kai search for other commits by this committer
www/py-{dj21,dj22}-django-cors-headers: Update to 3.0.2

25 May 2019 10:10:01
Original commit files touched by this commit  2.5.2
kai search for other commits by this committer
net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2

Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a
rather annoying bug that generated intermittent errors when objects were

Therefore the same procedure must be done in almost the same way as in
r492690 to make NetBox compatible with Django 2.2 in the ports tree.

That means to repocopy the required Django 1.11 ports, assign them to
Django 2.2, limit them to Python 3.5+ and update all related
CONFLICTS_INSTALL entries accordingly:

* www/py-dj22-django-cors-headers [1]
* www/py-dj22-django-debug-toolbar
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25 Apr 2019 17:25:35
Original commit files touched by this commit  2.5.2
kai search for other commits by this committer
www/py-dj21-django-cors-headers: Update to 2.5.2

While I'm here:
* Make port architecture neutral by adding NO_ARCH

Changelog since 2.4.0:

* Improve inclusion of tests in sdist to ignore .pyc files.
* Include test infrastructure in sdist to allow consumers to use it.
* Drop Django 1.8, 1.9, and 1.10 support. Only Django 1.11+ is supported
* Fix DeprecationWarning from importing on

Approved by:	mentors (implicit)
11 Feb 2019 12:00:30
Original commit files touched by this commit  2.4.0
kai search for other commits by this committer
Create some ports that are assigned to Django 2.1 instead Django 1.11.

Django 1.11 is currently the "default" version in the ports tree due its
long term support until April 2020 thus ports that are assigned to that
version will exist until then.

The following packages are required to make the upgrade of net-mgmt/netbox
to 2.5.x possible because upstream has decided to switch from Django 1.11
to Django 2.1:

* www/py-dj21-django-cors-headers
* www/py-dj21-django-debug-toolbar
* www/py-dj21-django-filter
* www/py-dj21-django-js-asset
* www/py-dj21-django-mptt
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 4

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
python37Oct 19
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30

4 vulnerabilities affecting 12 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-19 10:52:46

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 37699
Broken 75
Deprecated 99
Ignore 340
Forbidden 3
Restricted 156
Vulnerable 26
Expired 15
Set to expire 70
Interactive 0
new 24 hours 2
new 48 hours2
new 7 days18
new fortnight57
new month160

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.