Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-11 Thread Carlos Eduardo
Another tip is using templates to create your project. I'm developing one 
but the first version is already published. I added the template on GitHub 
with a good how-to.

https://github.com/tresloukadu/Django-Bootstrap-Project

Em sábado, 9 de março de 2019 15:15:01 UTC-3, Ando Rakotomanana escreveu:
>
> Hello, I'm still starting with django. And I have a problem with the 
> creation of the project, I write: "django-admin startproject DjangoTest" in 
> the cmd of my windows and it tells me that django-admin is not an internal 
> command. While I typed the same code this morning in the cmd and it worked. 
> And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/547baceb-dd22-49a0-a667-18bce52b4dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-10 Thread nm
As others have pointed out, the problem might be not having your virtual 
env activated.
If it's your first time with Django, there are very clear installation and 
set-up instructions in the Django Girls tutorial - also for Windows. I 
highly recommend it for a start.

On a side note, I'd also recommend using Python 3.x and Django 2.1, if you 
can. Django 1.6 has not been supported for 4 years now, and Python 2.7 
support is going to be dropped soon... and I suppose Django 1.6 may not be 
compatible with Python 3.7 ;)

On Saturday, 9 March 2019 19:15:01 UTC+1, Ando Rakotomanana wrote:
>
> Hello, I'm still starting with django. And I have a problem with the 
> creation of the project, I write: "django-admin startproject DjangoTest" in 
> the cmd of my windows and it tells me that django-admin is not an internal 
> command. While I typed the same code this morning in the cmd and it worked. 
> And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/cc6f05e6-a926-4137-b234-3d2563139b7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-10 Thread Sam Taiwo
Make sure your virtual environment is activated, you have to activate it
each time you create a new terminal.

Also contrary to what someone else said, you can use django-admin anywhere,
while you must be in the correct directory to run the manage.py file

On Sun, Mar 10, 2019, 07:38 abel otugeme  wrote:

> Make sure your virtual environments are set up well.  Also make sure your
> running that command from the folder where your manage.py file is...
> On Mar 9, 2019 7:12 PM, "Ando Rakotomanana" 
> wrote:
> >
> > Hello, I'm still starting with django. And I have a problem with the
> creation of the project, I write: "django-admin startproject DjangoTest" in
> the cmd of my windows and it tells me that django-admin is not an internal
> command. While I typed the same code this morning in the cmd and it worked.
> And I do not understand why?
> > I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows
> 8.1
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > To post to this group, send email to django-users@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/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/CAMrS0S8j4kMGc3sNYKX2G7E6tuzB%3DVS5dPWYTzJR__ZxZnMx2A%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAHKA7fBhZycKc9BCgyRqU8pqpHWHuZ5RWXt2exv%2Bitcg3u6Q7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-10 Thread Ando Rakotomanana
ok, i will try to reconfigure the virtual environment

Le samedi 9 mars 2019 21:15:01 UTC+3, Ando Rakotomanana a écrit :
>
> Hello, I'm still starting with django. And I have a problem with the 
> creation of the project, I write: "django-admin startproject DjangoTest" in 
> the cmd of my windows and it tells me that django-admin is not an internal 
> command. While I typed the same code this morning in the cmd and it worked. 
> And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/97647979-e42f-4593-9c8b-f0c5809d06ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-09 Thread abel otugeme
Make sure your virtual environments are set up well.  Also make sure your
running that command from the folder where your manage.py file is...
On Mar 9, 2019 7:12 PM, "Ando Rakotomanana" 
wrote:
>
> Hello, I'm still starting with django. And I have a problem with the
creation of the project, I write: "django-admin startproject DjangoTest" in
the cmd of my windows and it tells me that django-admin is not an internal
command. While I typed the same code this morning in the cmd and it worked.
And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAMrS0S8j4kMGc3sNYKX2G7E6tuzB%3DVS5dPWYTzJR__ZxZnMx2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-09 Thread Rammanoj Potla
Are you in the virtual environment ?? I guess you might be trying from
outside the virtual environment

On Sat 9 Mar, 2019, 11:53 PM Cathbert Mutaurwa,  wrote:

> Try check if django is setup properly in environment variables.
>
>
> Maybe that will help
>
> On Sat, 09 Mar 2019, 20:14 Ando Rakotomanana, 
> wrote:
>
>> Hello, I'm still starting with django. And I have a problem with the
>> creation of the project, I write: "django-admin startproject DjangoTest" in
>> the cmd of my windows and it tells me that django-admin is not an internal
>> command. While I typed the same code this morning in the cmd and it worked.
>> And I do not understand why?
>> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@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/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/CA%2BjnFn-oFau27f%2B3wd%3Dvd6MKG3qYVs%3Dsqqk33p0%3D1o7CbSb5yg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CALfNpa94OhxwmJHkRbRuanfbUUJnVCgVDu0jW7SW%3D7%3DWc2j3tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-09 Thread Cathbert Mutaurwa
Try check if django is setup properly in environment variables.


Maybe that will help

On Sat, 09 Mar 2019, 20:14 Ando Rakotomanana, 
wrote:

> Hello, I'm still starting with django. And I have a problem with the
> creation of the project, I write: "django-admin startproject DjangoTest" in
> the cmd of my windows and it tells me that django-admin is not an internal
> command. While I typed the same code this morning in the cmd and it worked.
> And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CA%2BjnFn-oFau27f%2B3wd%3Dvd6MKG3qYVs%3Dsqqk33p0%3D1o7CbSb5yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-09 Thread Ando Rakotomanana
Hello, I'm still starting with django. And I have a problem with the 
creation of the project, I write: "django-admin startproject DjangoTest" in 
the cmd of my windows and it tells me that django-admin is not an internal 
command. While I typed the same code this morning in the cmd and it worked. 
And I do not understand why?
I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.