How to setup Django project in PyCharm
up vote
33
down vote
favorite
I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?
python django pycharm
add a comment |
up vote
33
down vote
favorite
I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?
python django pycharm
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56
add a comment |
up vote
33
down vote
favorite
up vote
33
down vote
favorite
I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?
python django pycharm
I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?
python django pycharm
python django pycharm
asked May 26 '14 at 12:38
user3676356
166123
166123
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56
add a comment |
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56
add a comment |
4 Answers
4
active
oldest
votes
up vote
48
down vote
You can simply go to:
In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver
add a comment |
up vote
17
down vote
If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.
You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...
You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.
There is a tutorial on setting up a new project here
Wingware also seem to have some Django support.
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such asrunserver
.
– Bobort
Oct 21 '14 at 20:23
add a comment |
up vote
6
down vote
I have met the problems today. At last, I finished it by:
- Create project in command line
- Create app in command line
- Just open the existing files and code in pycharm
The way I use have the benefits:
- don't need by professional pycharm
- code django project in pycharm
add a comment |
up vote
0
down vote
Pycharm integration with Django. Please try below steps for integration.
1. Add Django plugin inside your python interpreter
Click + icon for installation of Django
Click on the install package, it will take some time for installation.
2. Check Django installation:
create a sample.py file
import django
print(django.get_version())
3. Open the terminal and entered
django-admin startproject mysite(name of your project)
4. Run Server
cd mysite
python manage.py runserver
You are able to start Django server at http://127.0.0.1:8000/
5. Create the application
Open the another terminal and entered
cd mysite
python manage.py startapp webapp(name of your app)
Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
48
down vote
You can simply go to:
In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver
add a comment |
up vote
48
down vote
You can simply go to:
In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver
add a comment |
up vote
48
down vote
up vote
48
down vote
You can simply go to:
In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver
You can simply go to:
In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver
edited Aug 11 '16 at 11:05
FrankerZ
15.4k72859
15.4k72859
answered Jul 8 '15 at 7:18
Shantanu
1,344913
1,344913
add a comment |
add a comment |
up vote
17
down vote
If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.
You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...
You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.
There is a tutorial on setting up a new project here
Wingware also seem to have some Django support.
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such asrunserver
.
– Bobort
Oct 21 '14 at 20:23
add a comment |
up vote
17
down vote
If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.
You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...
You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.
There is a tutorial on setting up a new project here
Wingware also seem to have some Django support.
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such asrunserver
.
– Bobort
Oct 21 '14 at 20:23
add a comment |
up vote
17
down vote
up vote
17
down vote
If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.
You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...
You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.
There is a tutorial on setting up a new project here
Wingware also seem to have some Django support.
If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.
You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...
You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.
There is a tutorial on setting up a new project here
Wingware also seem to have some Django support.
edited May 26 '14 at 13:08
answered May 26 '14 at 12:50
Padraic Cunningham
131k12113185
131k12113185
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such asrunserver
.
– Bobort
Oct 21 '14 at 20:23
add a comment |
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such asrunserver
.
– Bobort
Oct 21 '14 at 20:23
1
1
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
So much from free IDE. Can you suggest alternative free IDE for Python/Django?
– user3676356
May 26 '14 at 12:54
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
@user3676356, I added to my answer.
– Padraic Cunningham
May 26 '14 at 13:01
1
1
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
+1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
– Deepend
May 26 '14 at 14:59
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
– Dale E. Moore
Aug 17 '14 at 1:12
1
1
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as
runserver
.– Bobort
Oct 21 '14 at 20:23
@DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as
runserver
.– Bobort
Oct 21 '14 at 20:23
add a comment |
up vote
6
down vote
I have met the problems today. At last, I finished it by:
- Create project in command line
- Create app in command line
- Just open the existing files and code in pycharm
The way I use have the benefits:
- don't need by professional pycharm
- code django project in pycharm
add a comment |
up vote
6
down vote
I have met the problems today. At last, I finished it by:
- Create project in command line
- Create app in command line
- Just open the existing files and code in pycharm
The way I use have the benefits:
- don't need by professional pycharm
- code django project in pycharm
add a comment |
up vote
6
down vote
up vote
6
down vote
I have met the problems today. At last, I finished it by:
- Create project in command line
- Create app in command line
- Just open the existing files and code in pycharm
The way I use have the benefits:
- don't need by professional pycharm
- code django project in pycharm
I have met the problems today. At last, I finished it by:
- Create project in command line
- Create app in command line
- Just open the existing files and code in pycharm
The way I use have the benefits:
- don't need by professional pycharm
- code django project in pycharm
edited Sep 10 '15 at 4:47
FelisCatus
2,66611523
2,66611523
answered Sep 10 '15 at 4:02
onebraveman
16119
16119
add a comment |
add a comment |
up vote
0
down vote
Pycharm integration with Django. Please try below steps for integration.
1. Add Django plugin inside your python interpreter
Click + icon for installation of Django
Click on the install package, it will take some time for installation.
2. Check Django installation:
create a sample.py file
import django
print(django.get_version())
3. Open the terminal and entered
django-admin startproject mysite(name of your project)
4. Run Server
cd mysite
python manage.py runserver
You are able to start Django server at http://127.0.0.1:8000/
5. Create the application
Open the another terminal and entered
cd mysite
python manage.py startapp webapp(name of your app)
Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc
add a comment |
up vote
0
down vote
Pycharm integration with Django. Please try below steps for integration.
1. Add Django plugin inside your python interpreter
Click + icon for installation of Django
Click on the install package, it will take some time for installation.
2. Check Django installation:
create a sample.py file
import django
print(django.get_version())
3. Open the terminal and entered
django-admin startproject mysite(name of your project)
4. Run Server
cd mysite
python manage.py runserver
You are able to start Django server at http://127.0.0.1:8000/
5. Create the application
Open the another terminal and entered
cd mysite
python manage.py startapp webapp(name of your app)
Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc
add a comment |
up vote
0
down vote
up vote
0
down vote
Pycharm integration with Django. Please try below steps for integration.
1. Add Django plugin inside your python interpreter
Click + icon for installation of Django
Click on the install package, it will take some time for installation.
2. Check Django installation:
create a sample.py file
import django
print(django.get_version())
3. Open the terminal and entered
django-admin startproject mysite(name of your project)
4. Run Server
cd mysite
python manage.py runserver
You are able to start Django server at http://127.0.0.1:8000/
5. Create the application
Open the another terminal and entered
cd mysite
python manage.py startapp webapp(name of your app)
Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc
Pycharm integration with Django. Please try below steps for integration.
1. Add Django plugin inside your python interpreter
Click + icon for installation of Django
Click on the install package, it will take some time for installation.
2. Check Django installation:
create a sample.py file
import django
print(django.get_version())
3. Open the terminal and entered
django-admin startproject mysite(name of your project)
4. Run Server
cd mysite
python manage.py runserver
You are able to start Django server at http://127.0.0.1:8000/
5. Create the application
Open the another terminal and entered
cd mysite
python manage.py startapp webapp(name of your app)
Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc
answered 2 days ago
jitesh mohite
3,35811332
3,35811332
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23870365%2fhow-to-setup-django-project-in-pycharm%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47
Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56