Comments (2)
Note that it fails to show anything when that happens. Disabling that app in the graph would be a better result - esp. if it is mentioned in the sidebar as disabled.
And after disabling stores, which I am not using anyway, it works for django-oscar, and a few other medium sized apps! It looks great, but it is very hard to find a model.
A little curious, the console log shows some unnecessary precision
Stabilization progress 50%
main.js:59 Stabilization progress 55.00000000000001%
main.js:59 Stabilization progress 60%
from django-schema-graph.
I have encountered this issue myself now, so I know the cause. I have a local branch that reproduces the error, but I suspect the solution will not be straightforward. I'll push that branch when I get a chance, and will look into what I can do to address this.
EDIT: I should have said the cause...
If two model classes have the same name in the same app, then we'll hit this error.
I encountered this when a superclass was defined outside of the models file, and had the same name as the concrete model subclass.
from django-schema-graph.
Related Issues (20)
- Use poetry for requirements/deployment
- main.js not found HOT 3
- Inconvenient display HOT 2
- Consider adding option to disable physics
- Disabling an app should collapse it
- Models which have no connections should be separated from the others
- Abstract models should be hidden
- Reduce emphasis on models without any data
- [Feature Request] Toggling schema views programmatically HOT 1
- Many to many through connection HOT 2
- Let sites choose to show the page when DEBUG=False HOT 1
- Allow static generation HOT 1
- Allow models/apps to be turned on/off
- Export graph data HOT 2
- Make new table-based graph-editor
- Make graphs linkable
- Replace loading bar with something more user-friendly
- Some data missing from graph HOT 1
- Add collapse-all/expand-all shortcuts to sidebar
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 django-schema-graph.