Migrating from 1.x to 2.0¶
This document provides guidance on migrating code from version 1.x to version 2.0.0. It covers the major changes introduced in the new version and outlines the necessary modifications you need to make in your code to ensure compatibility.
Table of Contents¶
- New to Nautobot v2.0.0
- Changes to Nautobot in v2.0.0
- Steps to Migrate an App from V1
- Preliminary Steps:
- Add
pylint-nautobot
as a development dependency - Temporarily disable
pylint-django
while your app is not running - Run
pylint-nautobot
in order to parse your development environment code and generate recommendations for necessary changes to for your app to upgrade to v2.0 - Specific steps to install and run
pylint-nautobot
in your development environment is available here - Once you make the recommended changes from
pylint-nautobot
, you can enablepylint-django
and restart your app
- Add
- Dependency Updates
- Code Updates
- Model Updates
- Preliminary Steps: