Comments (1)
Hi @joenatan,
You can find an example in the docs. See the Using completion widget outside of Django admin section in the readme, and there will be a code sample for views.py
that shows how to use DjangoQLSchemaSerializer
:
introspections = DjangoQLSchemaSerializer().serialize(DjangoQLSchema(MyModel))
Thanks,
Denis
from djangoql.
Related Issues (20)
- Bug in custom AdminSite HOT 2
- Sometimes got an error HOT 3
- Not implemented on Production but do sees it local HOT 4
- Layout issue
- Can I change once search with another? HOT 3
- print SQL executed HOT 13
- Different results when order is changed.
- Where to execute SQL statement instead of ORM ? HOT 1
- Search does not work with GenericIPAddress fields HOT 2
- AttributeError: 'QuerySet' object has no attribute 'explain' HOT 2
- Duplicate results in reverse ForeignKey lookup HOT 3
- Steps to bundle the completion HOT 3
- Contains on M2M models produces same result multiple times HOT 1
- Support of Django 4.0 HOT 2
- Collectstatic on Django 4 fails due to missing map file HOT 1
- Search on Oracle Backend HOT 1
- Dealing with JSONFields
- Request for dedicated wiki page / tutorial on how to include DjangoQL autocompletion on webpage HOT 3
- Search for `in ("")` raises strptime() error
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 djangoql.