Re: Absolute beginner step by step

2016-06-25 Thread M. Kholid
I have already study and tried the code from any guide ( django documentation, djangogirl ) and some other tutorial, now i want to add some feature/package from git hub, can any one help how do i doing that. Thanks Best Regards Kholid On Tue, Jun 21, 2016 at 4:26 AM, Gary Roach wrote: > I stand

Re: install with package manager or pip

2016-06-25 Thread emetib
answered it myself with more searching. install additional applications that only virtualenv is going to use in the virtenv folder. thanks again. em -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: install with package manager or pip

2016-06-25 Thread emetib
thank you for your responses. one last question. do i need to be in the virtualenv when doing things? i.e. editing code, running the server... i just have to make sure that the folder i set up with the virtenv is my root dir when coding, correct? thank you em -- You received this message bec

Fellow Report - June 25, 2016

2016-06-25 Thread Tim Graham
Triaged --- https://code.djangoproject.com/ticket/26779 - i18n_javascript should take extra_context as argument (accepted) https://code.djangoproject.com/ticket/26781 - SQLite crashes when changing the case of db_table (accepted) https://code.djangoproject.com/ticket/26794 - Migrating F

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

2016-06-25 Thread Gary Roach
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 m

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

2016-06-25 Thread Ilya Boka
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 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 t

Re: install with package manager or pip

2016-06-25 Thread ludovic coues
virtualenv venv source venv/bin/activate pip install django pip freeze > requirements.txt django-admin startproject tutorial cd tutorial && python manage.py runserver Assuming you have python and virtualenv installed on your machine. At this point, you have: * a virtualenv inside the folder venv

Re: install with package manager or pip

2016-06-25 Thread Gary Roach
On 06/25/2016 12:35 PM, emetib wrote: i'm looking at trying out django, yet i've seen that you can install it with either the package manager or pip. i'm running debian testing to play around with this. small install ssh server only. using a clone of this base install. haven't played with/

install with package manager or pip

2016-06-25 Thread emetib
i'm looking at trying out django, yet i've seen that you can install it with either the package manager or pip. i'm running debian testing to play around with this. small install ssh server only. using a clone of this base install. haven't played with/used pip hardly at all. questions- doe

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

2016-06-25 Thread Gary Roach
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 s

Re: Beginner question regarding virtualenv

2016-06-25 Thread Leo Vensel
Great advice from everyone glad I asked. Project dependencies file definitely! Thanks On Fri, Jun 24, 2016 at 10:45 AM, Nate Granatir wrote: > I've found that virtualenvs are definitely worth the time to set up, there > will be a time down the road when you need to have two different versions >

Re: Test fails when run in whole test suite - but not stand-alone?

2016-06-25 Thread Bill Freeman
I have no immediate clue. I know that, using nosetest, I can add -s and -v to the command line, making it possible to drive pdb from the test, using: import pdb;pdb.set_trace() inserted in the code to get into pdb at the relevant point(s). Evan if you're not running under nosetest, there ma

Confused about this aggregation example from the docs

2016-06-25 Thread Ankush Thakur
On this page https://docs.djangoproject.com/en/1.9/topics/db/aggregation/ we have the following example of aggregation: # All the following queries involve traversing the Book<->Publisher # foreign key relationship backwards. # Each publisher, each with a count of books as a "num_books" attribute

Re: python manage.py runserver error

2016-06-25 Thread ludovic coues
Django 1.9.7 is compatible with python 2. Django 1.11 is planned to be last version supporting python 2, the last version for django 1 and will be on long term support. Only django 2 will drop support for python 2. For the original question, the issue seems related to salute. The content of setti

Re: Test fails when run in whole test suite - but not stand-alone?

2016-06-25 Thread Derek
Hi Adam I have narrowed the issue right down. As soon as I have even *one* other test that imports *anything* from the app's admin file, the test crashes. So for example, if the test sequence is group of test files - one of which is my one in the OP and one which contains: import unittest fro