A first time programmer

66 views
Skip to first unread message

Paul Baforh

unread,
Apr 6, 2018, 6:33:39 PM4/6/18
to Django users
Please programmers, how do I engage django because i get syntax error i type in this code
----- $ django-admin startproject mySite -----------

Nathaniel David

unread,
Apr 6, 2018, 6:50:56 PM4/6/18
to django...@googlegroups.com
Have you tried checking the version of your Django-admin like this: "django-admin --version" without the quotation mark. If it returns a version number, try creating a new project like this: "django-admin startproject royaltykitchen"

On Fri, Apr 6, 2018 at 10:43 PM, Paul Baforh <baforh...@gmail.com> wrote:
Please programmers, how do I engage django because i get syntax error i type in this code
----- $ django-admin startproject mySite -----------

--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8c30cd6f-0745-44cf-a782-3cac82762a75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,
John, Nathaniel David.
+2348034325030

James Farris

unread,
Apr 7, 2018, 12:27:47 AM4/7/18
to Django users
Hi,

If you type this in your terminal, you should see Django==2.0.4 (or some other version)

$ pip freeze

If not, Django is not installed.

Also, what is the syntax error you are receiving?

Sherine Tresa

unread,
Apr 7, 2018, 6:46:28 AM4/7/18
to django...@googlegroups.com
i am a first time user.and i don't know how to open and type code in it.
the error corrected when i typed the pip install statement in commandprompt outside.
i need to know how to start using django?

--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

James Farris

unread,
Apr 7, 2018, 12:07:45 PM4/7/18
to Django users
No one can walk you through how to use Django in this group. That is too much to explain.

I recommend choosing a plain text editor like Sublime Text or many others that are free in order to start working on any coding project.

Then once you have that, read the documentation and follow this tutorial written by the Django developers.

https://docs.djangoproject.com/en/2.0/intro/tutorial01/

ansh srivastav

unread,
Apr 7, 2018, 12:20:00 PM4/7/18
to django...@googlegroups.com
First check the version of python, then type :django-admin startproject projectname.

On 7 Apr 2018 04:03, "Paul Baforh" <baforh...@gmail.com> wrote:
Please programmers, how do I engage django because i get syntax error i type in this code
----- $ django-admin startproject mySite -----------

--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Andréas Kühne

unread,
Apr 7, 2018, 5:10:25 PM4/7/18
to django...@googlegroups.com
I would also recommend you start with a tutorial.

The django tutorial on the docs page is ok, but the djangogirls tutorial is pretty extensive - try that and you should get some of your answers at least : https://tutorial.djangogirls.org/en/

Best regards,

Andréas

FranzOC

unread,
Apr 10, 2018, 8:38:07 PM4/10/18
to Django users

be sure about that you have installed django typing $pip freeze in your console

Paul Baforh

unread,
Apr 18, 2018, 1:32:18 AM4/18/18
to Django users
Thanks everyone for your replies so far. I have another prob: I'm trying to create a new file (.py) in my app using vscode but I get the error "permission denied writing to file" then followed by the directory of the base file
Reply all
Reply to author
Forward
0 new messages