No, if debug is true, you do not have to worry about statics yet

Are you activating the env before the runserver command?

Sent from my iPhone

> On Oct 13, 2015, at 21:56, Ralph Castain <r...@open-mpi.org> wrote:
> 
> 
>> On Oct 13, 2015, at 5:42 PM, Jonathan Querubina <jota...@me.com> wrote:
>> 
>> Have you installed any dependencies via "pip” ?
> 
> Only Django itself was installed via “pip” - we went thru the binaries and 
> edited the path. We also uninstalled Django and reinstalled it on the host 
> using “pip”, but the behavior is the same.
> 
>> 
>> If not and all the code has been done under your djando apps, the problem 
>> could be on the git. Have you checked .gitignore ?
> 
> We don’t have a .gitignore at this time as we weren’t sure what should be 
> ignored. We also tried just copying the environment (no Git involved), and 
> had the same result. So my guess is that there is some static file or 
> something that needs refreshing so Django recognizes the project.
> 
> The “welcome” page indicates that we have DEBUG=TRUE in our settings, but 
> that we haven’t configured any URLs. Is the URL in a static file, perchance?
> 
> 
>> 
>> Sent from my iPhone
>> 
>>> On Oct 13, 2015, at 21:38, rhc.open...@gmail.com wrote:
>>> 
>>> Just to update: we also tried simply copying the entire virtual environment 
>>> across, correcting for any differences in path. Still go the same behavior.
>>> 
>>> We'd really welcome some advice on this one as otherwise we won't be able 
>>> to use Django - we need a way to collaborate on implementation.
>>> 
>>> Thanks
>>> Ralph
>>> 
>>> 
>>>> On Tuesday, October 13, 2015 at 2:57:50 PM UTC-7, rhc.o...@gmail.com wrote:
>>>> Hi folks
>>>> 
>>>> I'm a Django newbie (have found it very helpful!), so please excuse the 
>>>> naivete. I have a question regarding team work on a Django project via 
>>>> GitHub.
>>>> 
>>>> I followed your excellent tutorial and have a virtual Python v2.7 
>>>> environment with Django 1.8.5 installed in it (FWIW: I thought I installed 
>>>> Django 1.11, but django-admin --version shows 1.8.5). I then created my 
>>>> app using "django-admin startproject foo" and got the project subdirectory 
>>>> as expected. A quick check of the server showed the "Welcome to Django" 
>>>> page.
>>>> 
>>>> I then added a bunch of model definitions and customized the admin page. I 
>>>> verified that everything was okay by looking at the admin web page on my 
>>>> localhost - the customized page is there, and I was able to add some test 
>>>> data for one of the models. At this point, others want to pitch in to 
>>>> help, and so I bundled everything in my project subdirectory (including 
>>>> manage.py and the initial sqlite3 db) into a git repo and pushed it up to 
>>>> GitHub.
>>>> 
>>>> The other team members also setup a virtual environment with Django, using 
>>>> the same versions, and activated it. They then cloned the GitHub repo and 
>>>> got all the project files as expected, and the directory structure looks 
>>>> exactly the same.
>>>> 
>>>> However, when they runserver in the project, they only get the "Welcome to 
>>>> Django" page. The project admin and login page doesn't show up. I've 
>>>> verified that all the model and settings info is correct, but we haven't 
>>>> been able to get the info to show on the web page.
>>>> 
>>>> Any suggestions on what we are doing wrong? I'm assuming a team can share 
>>>> a Django project, but suspect we aren't collecting all the relevant files 
>>>> or not getting the other team's environment set correctly.
>>>> 
>>>> Thanks
>>>> Ralph
>>>> 
>>> 
>>> 
>>> -- 
>>> 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 http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/b13c6d50-2a22-40bf-a78d-752a7305914a%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/django-users/MlbkfJcJo08/unsubscribe.
>> To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/3A0F673C-020E-4EEA-BDE1-AAB35BBFBCD2%40me.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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/11F2CDAE-97A7-4DF9-B578-75A6EB5EE959%40open-mpi.org.
> 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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/BE3E2602-364D-47D3-ADC0-E95CC08B095F%40me.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to