Comments (4)
Hi @Thetacz ,
I added it to the example RegionModel
:
class RegionModel(DiffSyncModel):
"""Shared data model representing a Region in either of the local or remote Nautobot instances."""
...
_attributes = ("slug", "description", "parent_name", "cfs")
cfs: Dict[str, str] = {"asw_owner": ""}
and I can confirm that I got the error when accessing the SSoT Sync Details
from nautobot-app-ssot.
Yes @progala , this replace idea works. Will raise the PR
from nautobot-app-ssot.
I also stumbled upon this bug. The issue seems to be with the below line in render_diff.py
return format_html(result)
Which in turn is caused by the below line in django.utils.html.format_html
return mark_safe(format_string.format(*args_safe, **kwargs_safe))
https://github.com/django/django/blob/main/django/utils/html.py#L103
I was able to make it working, when testing locally against format_html()
, by escaping {
and }
characters in string passed to the function.
result = result.replace("{", "{{").replace("}", "}}"
from nautobot-app-ssot.
Fixed in #42
from nautobot-app-ssot.
Related Issues (20)
- Add Documentation Around Job.run() Function HOT 2
- AttributeError: Manager isn't accessible via ContentType instances HOT 2
- Cannot install 2.4.0 ipfabric dependency in coordination with chatops and golden-config HOT 4
- relocate and/or add SSoT to Extensibility navbar item HOT 7
- Migrate Zero reversibility failures
- Contrib support for Custom Relationships one-to-many HOT 1
- Add a hook after loading but before adding to diffsync store for `NautobotAdapter`
- Allow for customization of `NautobotAdapter` loading on a per-model basis
- App Setting 'hide_example_jobs' when set to False does not show the example jobs
- [Infoblox] Tags and custom fields are not applied to Nautobot objects synced to/from Infoblox
- Installing SSoT App to existing Nautobot 2.1.5 installation fails migrations HOT 1
- `test_contrib_adapter.TestNestedRelationships` creates invalid data, fails upstream CI HOT 1
- Fresh install with all integrations disabled still creates every integrations custom fields from signals HOT 2
- pinning of drf-spectacular=0.26.3 incompatible with nautobot core
- VLAN locations are not synchronized HOT 5
- VLANs not properly associated with Prefixes HOT 4
- Improve Infoblox client peformance by replacing requests.request with requests.Session HOT 1
- Loading the IPAddress if Object Already Exists
- Log Diff Summary as JSON HOT 1
- ServiceNow 2.X fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot-app-ssot.