Package: django-occupations
django-occupations is a reusable Django App for importing, updating, and managing structured occupation data.OverviewThe structure of this data is currently based primarily on the US Federal Government’s Standard Occupational Classification (SOC) system, but in the future we aspire to support other structured occupation sources. The US Federal Government’s Office of Management and Budget is responsible for maintaining the Standard Occupational Classification (SOC) system. For more information on SOC, please visithttps://www.bls.gov/soc/orhttps://www.bls.gov/soc/2018/soc_2018_manual.pdforhttps://www.bls.gov/soc/2018/soc_2018_definitions.pdfandhttps://www.bls.gov/soc/2018/soc_structure_2018.pdfQuick startAdd “django_occupations” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'django_occupations',
]Include the django-occupations URLconf in your project urls.py like this:path('occupations/', include('django_occupations.urls')),Runpython manage.py migrateto create the django-occupations models.Start the development server and visithttp://127.0.0.1:8000/admin/to view or edit occupation data (you’ll need the Admin app enabled).RoadmapUpdate documentationAdd model relationshipsAdd slug fields for URLsAdd test coverageAdd management command to pull the latest SOC dataAdd latest SOC data to version control and add a migration to populate data from SOC dataAdd management command to update SOC Direct Match TitlesDecide how to handle when SOCremovescertain occupations? Merge into others? Orphan them? Note the date they were deprecated?Clean up some lingering references to edX that no longer make sense (this repo was set up using an edX-authored cookiecutterhttps://github.com/edx/edx-cookiecutters/tree/master/cookiecutter-django-app)Documentation(TODO: Set up documentation)## Data Policy
We use SOC 6-digit codes, but omit the hypen that SOC puts between the 2nd and 3rd digitFor MaintainersTo publish a new release:
1. Update the version number in the application module’s __init__.py file, update CHANGELOG.rst accordingly, and runpython setup.py tag2. Generate distributions usingpython setup.py sdist bdist_wheel(based on the instructions athttps://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives)
3. Use twine to update PyPi withpython-mtwine upload dist/*LicenseThe code in this repository is licensed under the Apache Software License 2.0 unless
otherwise noted.Please seeLICENSE.txtfor details.How To ContributeContributions are very welcome.
Please readHow To Contributefor details.
Even though they were written withedx-platformin mind, we are happy to invite contributions using the same guidelines.The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you
can find it atPULL_REQUEST_TEMPLATE.md.The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you
can find it atISSUE_TEMPLATE.md.Reporting Security IssuesPlease do not report security issues in public. Please emailhello@careervillage.org.Getting HelpIf you’re having trouble, please comment in the Github Issues for this repo or contact us athello@careervillage.orgChange LogUnreleasedRefer to the “Roadmap” section of the README.[0.2.2] 2021-02-10Makes the ONetAlternateTitles-to-SOCOccupations relationship many-to-many. This better matches the ONET taxonomy.You must migrate after upgrading.[0.2.1] 2020-06-19Adds name field to SOCHighLevelAggregationGroup model.Removes directtitlematch model.You must migrate after upgrading.[0.2.0] 2020-06-13Adds ONet models for Occupations and Alternate Titles.You must migrate after upgrading.[0.1.0] 2020-06-06First release on PyPI.Defines SOC models.