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
On 28 November 2015 at 11:33, aftnix <aftnix@gmail.com> wrote:
On শুক্রবার 27 নভে 2015 03:04 অপরাহ্ণ, Sneha R 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+unsubscribe@googlegroups.com
<mailto:django-users+unsubscribe@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@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
<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
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/565990F2.2030603%40gmail.com.
Wildman and Herring Limited, Registered Office: 52 Great Eastern Street, London, EC2A 3EP, Company no: 05766374
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/CAPZHCY6okWECJCFbmU-Bx_Fz9xigUrVsN7ov30wnuyHbZFPJ3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment