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 - Run
pylint -v --disable=all --enable=nautobot-code-location-changes,nautobot-replaced-models *
in order to parse your development environment for changes that need to be fixed before pylint-django can successfully run. - Specific steps to install and run
pylint-nautobot
in your development environment is available here
- Add
- Dependency Updates
- Code Updates
- Model Updates
- Preliminary Steps: