Unresolved references error in Pycharm Community edition

364 views
Skip to first unread message

Sneha R

unread,
Nov 27, 2015, 11:24:42 AM11/27/15
to Django users
Hi,

I am new to Pycharm and I am trying to run a Django project in Pycharm Community edition 5.0.1 but there are few import errors saying ''Unresolved reference'" . I am using Python 2.7. How do I solve this error ?

Ezequiel Bertti

unread,
Nov 27, 2015, 11:28:02 AM11/27/15
to django...@googlegroups.com
This error is on run console or on some dialog of pycharm?

On Fri, Nov 27, 2015 at 7:04 AM, Sneha R <sneh...@gmail.com> wrote:
Hi,

I am new to Pycharm and I am trying to run a Django project in Pycharm Community edition 5.0.1 but there are few import errors saying ''Unresolved reference'" . I am using Python 2.7. How do I solve this error ?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/52667e5d-998a-4b49-b3c9-b8c4d3842133%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ezequiel Bertti
E-Mail: ebe...@gmail.com
Cel: (21) 99188-4860

aftnix

unread,
Nov 28, 2015, 11:06:58 AM11/28/15
to django...@googlegroups.com
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> <https://groups.google.com/d/msgid/django-users/52667e5d-998a-4b49-b3c9-b8c4d3842133%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Obviously you would first at least try to run the project from command
line using "python manage.py runserver" before doing anything with an
IDE. IDE's are never good choice for django development IMHO

Dan Tagg

unread,
Nov 28, 2015, 12:50:13 PM11/28/15
to django...@googlegroups.com
Agreed, but it is very good to use virualenv, a requirements file and then set the PyCharm project interpreter to your virtualenv one, then PyCharm picks up all the imports and can alert you if you're importing something wrongly or if you want to view the declaration of a function. I also really like django cookiecutter. https://github.com/pydanny/cookiecutter-django

Dan



To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Wildman and Herring Limited, Registered Office: 52 Great Eastern Street, London, EC2A 3EP, Company no: 05766374
Reply all
Reply to author
Forward
0 new messages