Some questions from a beginner
Hello folks,
I just installed the RC of PyCharm and it looks very good. Just some questions:
- How can I get autocomplete for Django project? Also if I write something like models.Char I don't get any suggestions.
- How can I add a new application for a Django project?
Thx
Luca
Please sign in to leave a comment.
Hello Luca,
Do you already have the 'from django.db import models' statement in your
class? If you don't, you need to use Ctrl-Alt-Space (class name completion)
to complete the identifiers you haven't imported yet.
We don't have any specific UI for that yet. You can use the "Run manage.py
task" action to run the startapp task.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Yole,
I am using GeoDjango and so the import is:
from django.contrib.gis.db import models
with the "standard" import all is fine.
Thx
Luca
Hello Luca,
Which Django version are you using? Did you install GeoDjango separately,
or are you using the version inside the Django distribution?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Django 1.2.3 and GeoDjango from Django distribution.
Thx
Luca