Autocomplete Django Models
See original GitHub issueIn the following code I am not getting the auto complete suggestions for all of Model.Objects. When I use Pycharm it shows the auto complete, So I am not sure why I don’t see it with jedi-vim. Here is an example image of pycharm on top and vim on bottom. http://i.imgur.com/pwWl7UK.png
from django.db import models class Apple(models.Model): name = models.CharField(max_length=30)
class Orange(models.Model): name = models.CharField(max_length=30)
def get_top_apple(self):
#I want .objects to autocomplete
return Apple.objects.first()
Issue Analytics
- State:
- Created 9 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Tutorial - django-autocomplete-light 3.9.0rc1 documentation
When Django Autocomplete Light calls your function two arguments are passed in. The first is the django.jQuery object. This is done since your...
Read more >how to create a autocomplete input field in a form using Django
autoComplete is the function called to perform the action and ... from .models import model def email_autocomplete(request): if request.
Read more >Implement Search Autocomplete For Input Fields in Django
In this article we will learn how to fetch data from django models and give it feature like autocomplete. We will be using...
Read more >Django Admin Autocomplete Field Search Customization
I have a need to customize autocomplete field on django admin. So basically, I filter out serial numbers. ... The actual search should...
Read more >Implement Search Autocomplete For Input Fields in Django
Implement Search Autocomplete For Input Fields in Django · Step 1. Create Django Project · Step 2. Add files and Folder to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gun1x guess which year it is 😁 😁 😁
Hey Flavio,
I didn’t track this issue. It will probably get developed in the future, if there are enogh vim django devs.
If you really need this, think about helping the community and sponsoring jedi support for meta classes.
If this doesn’t get done till 2019, I will probably try to sponsor this, since by then I will have a big Django project and I would rather use vim than any other IDE.
Best Regards, gxgung
On Fri, Jul 28, 2017 at 9:37 PM, Flávio Juvenal da Silva Junior < notifications@github.com> wrote: