Sunday, June 26, 2016

Re: Using the Eclipse mysite>django>custom command(manage.py$(custom_command)) function

You can't createuser, becouse this command need user input. For this
case better run manage.py directly from console. Sorry, can't help you
with this.

On Sun, Jun 26, 2016 at 12:51 AM, Gary Roach <gary719_list1@verizon.net> wrote:
> i did as you suggested and tried it with runserver. It worked. I tried the
> same thing with createsuperuser and got the errror: Superuser creation
> skipped due to not running in a TTY.
>
> Since I am setting up the sqlite dbms, does it make any difference if I run
> the thing inside Eclipse vs cd to mysite.manage.py and run things from the
> system monitor command line?
>
> Gary R.
>
>
> On 06/25/2016 01:55 PM, Ilya Boka wrote:
>>
>> Click add. Enter your command( Ex: "runserver"). Click OK. Double
>> click to run this.
>>
>> On Sat, Jun 25, 2016 at 10:07 PM, Gary Roach <gary719_list1@verizon.net>
>> wrote:
>>>
>>> Hi all:
>>>
>>> OS Debian Stretch
>>> KDE Desktop
>>>
>>> I am using Eclipse Neon with the PyDev plugin for developing a django
>>> application. At present I am running through the djangoproject
>>> tutorial.The
>>> tutorial has me run:
>>> python manage.py createsuperuser
>>> I want to run this within Eclipse and not the system command line. Right
>>> clicking on the project title and following the sub menus I get to the:
>>> mysite>django>custom command(manage.py$(custom_command))
>>> function. I
>>> can't seem to figure out how to use this. It is the only thing I could
>>> find
>>> that looks like it is meant to replace the system command line.
>>>
>>> In general, any time I have to use manage.py and there is not a specific
>>> menu item for the process, I'm awash.
>>>
>>> Any elucidation on this point will be sincerely appreciated.
>>>
>>> Gary R.
>>>
>>> --
>>> 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 https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/d9eba089-965f-46cf-7c38-f97af2d17aa8%40verizon.net.
>>> 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+unsubscribe@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/88d4a6cf-19d7-6d54-b1da-320a55641ebc%40verizon.net.
>
> 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+unsubscribe@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/CAFTDQfBY37QyQGUh1cm4LqXS8yreNB4yXopsxDbBQbu0Bt%2BJbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment