Re: Polls app not showing?

2019-07-03 Thread Scott Winter
Ok so the images I attached to this comment are the view of the file path in my file explorer, which isn't consistent with the results of the tree command in "mysite". The files are there but I of course I don't see the polls app folders anywhere. I entered the command you suggested and receive

Re: Polls app not showing?

2019-07-02 Thread Joe Reitman
That looks really weird. Try running this command in a new folder exactly as shown. django-admin startproject polls_project . Remember to include a space and period after polls_ project. It should create a directory structure like this in your new folder. . ├── manage.py ├── polls_project │

Re: Polls app not showing?

2019-07-02 Thread Scott Winter
Ok, attached a pic of the mysite folder and the other items inside. Polls 2 and 3 are my attempt at making another polls app. Feels like I'm missing something really simple here. On Sunday, June 30, 2019 at 11:06:54 PM UTC-4, Joe Reitman wrote: > > What does your project directory look like? > >

Re: Polls app not showing?

2019-06-30 Thread Joe Reitman
What does your project directory look like? On Sunday, June 30, 2019 at 8:29:02 PM UTC-5, Scott Winter wrote: > > Sorry, you'll have to be clearer than that. Not sure how to do that nor > how it relates to the issue > > On Friday, June 28, 2019 at 12:28:33 AM UTC-4, karthikvignesh28 wrote: >> >

Re: Polls app not showing?

2019-06-30 Thread Scott Winter
Sorry, you'll have to be clearer than that. Not sure how to do that nor how it relates to the issue On Friday, June 28, 2019 at 12:28:33 AM UTC-4, karthikvignesh28 wrote: > > Create virtual environment > > On Fri, Jun 28, 2019, 6:14 AM ScottW > > wrote: > >> The server ran a few weeks ago before

Re: Polls app not showing?

2019-06-27 Thread vignesh karthik
Create virtual environment On Fri, Jun 28, 2019, 6:14 AM ScottW wrote: > The server ran a few weeks ago before I ran into this issue. I used the > run server command just now and now its not working. Interesting > > On Thursday, June 27, 2019 at 3:09:29 PM UTC-4, karthikvignesh28 wrote: >> >> >>

Re: Polls app not showing?

2019-06-27 Thread ScottW
The server ran a few weeks ago before I ran into this issue. I used the run server command just now and now its not working. Interesting On Thursday, June 27, 2019 at 3:09:29 PM UTC-4, karthikvignesh28 wrote: > > > > On Thursday, June 27, 2019 at 8:04:39 AM UTC+5:30, ScottW wrote: >> >> Hi, >> >

Re: Polls app not showing?

2019-06-27 Thread ScottW
Yep, followed the instructions to a tee on the Django site On Thursday, June 27, 2019 at 9:28:53 AM UTC-4, Joe Reitman wrote: > > Did you create a project first with the 'startproject' command? > > On Wednesday, June 26, 2019 at 9:34:39 PM UTC-5, ScottW wrote: >> >> Hi, >> >> I'm attempting to ge

Re: Polls app not showing?

2019-06-27 Thread ScottW
Where exactly do I find installed apps? The settings python file doesn't open. On Thursday, June 27, 2019 at 2:32:51 AM UTC-4, ojakol emma wrote: > > first go to installed apps in settings then you install that app "POLLS" > > On Thu, Jun 27, 2019 at 5:33 AM ScottW > > wrote: > >> Hi, >> >> I'

Re: Polls app not showing?

2019-06-27 Thread karthikvignesh28
On Thursday, June 27, 2019 at 8:04:39 AM UTC+5:30, ScottW wrote: > > Hi, > > I'm attempting to get started with Django and very first part of the polls > app. When I type "python manage.py startapp polls" into the Windows > Powershell I don't see a folder for it in my file explorer under "mys

Re: Polls app not showing?

2019-06-27 Thread Joe Reitman
Did you create a project first with the 'startproject' command? On Wednesday, June 26, 2019 at 9:34:39 PM UTC-5, ScottW wrote: > > Hi, > > I'm attempting to get started with Django and very first part of the polls > app. When I type "python manage.py startapp polls" into the Windows > Powershe

Re: Polls app not showing?

2019-06-27 Thread ojakol emma
hv you got it On Thu, Jun 27, 2019 at 9:31 AM ojakol emma wrote: > first go to installed apps in settings then you install that app "POLLS" > > On Thu, Jun 27, 2019 at 5:33 AM ScottW wrote: > >> Hi, >> >> I'm attempting to get started with Django and very first part of the >> polls app. When I

Re: Polls app not showing?

2019-06-26 Thread ojakol emma
first go to installed apps in settings then you install that app "POLLS" On Thu, Jun 27, 2019 at 5:33 AM ScottW wrote: > Hi, > > I'm attempting to get started with Django and very first part of the polls > app. When I type "python manage.py startapp polls" into the Windows > Powershell I don't

Polls app not showing?

2019-06-26 Thread ScottW
Hi, I'm attempting to get started with Django and very first part of the polls app. When I type "python manage.py startapp polls" into the Windows Powershell I don't see a folder for it in my file explorer under "mysite". Even stranger is that when I type 'tree' for this folder it shows that

Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Moodie
Thanks Julien! I'm new to Python, so the indentation is throwing me a bit, but that sorted out the problem. Thanks again! On Jun 27, 5:16 pm, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > In the example you give I see some identeation problems. It should > rather be: > > class Poll(models.Model)

Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Moodie
Thanks Julien! I'm new to python, so the indentation is throwing me a little, but that fixed the issue. Thanks again! On Jun 27, 5:16 pm, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > In the example you give I see some identeation problems. It should > rather be: > > class Poll(models.Model): >  

Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Julien
Hi, In the example you give I see some identeation problems. It should rather be: class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __unicode__(self): return self.question def was_published_today(se

Polls app not showing in Admin > Django Tutorial

2008-06-26 Thread Moodie
Hi, I've been going over this, but for some reason the Polls app is not showing up in the admin after adding 'class Admin: pass' to the poll model. I've searched through this user group, and have tried all the things suggested, but am still not having much luck. My models.py page looks like this: