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 received the message "manage.py 
already exists, overlaying a project or app into an existing directory 
won't replace conflicting files"

And thanks for clearing up the virtual environment part. 

On Tuesday, July 2, 2019 at 11:02:32 PM UTC-4, Joe Reitman wrote:
>
> 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
>
> │   ├── __init__.py
>
> │   ├── settings.py
>
> │   ├── urls.py
>
> │   └── wsgi.py
>
> Most developers use a virtual environment when creating new projects. A 
> virtual env separates the dependencies between different projects. It is 
> not necessary for you to do that on your first project so don't worry about 
> it. You can always watch youtube tutorials on creating virtual envs later 
> on. 
>
> On Tuesday, July 2, 2019 at 9:25:35 PM UTC-5, Scott Winter wrote:
>>
>> 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?
>>>
>>>
>>>
>>> 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:
>
> 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:
>>>
>>>
>>>
>>> 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 
 "mysite". Even stranger is that when I type 'tree' for this folder it 
 shows 
 that its on the computer, but there's nothing in it besides 
 'migrations' 
 and '_pycache_ '. Please refer to the screenshot attached for a 
 picture of 
 the Powershell code. If someone could help steer me in the right 
 direction 
 that would be great! 

>>>
>>>
>>>
>>> Can you run the server Without Creating a new app? 
>>>
>> -- 
>> 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...@googlegroups.com.
>> To post to this group, send email to django...@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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/007c5deb-a3b7-4ff5-a9c1-68f624cf7c5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

│   ├── __init__.py

│   ├── settings.py

│   ├── urls.py

│   └── wsgi.py

Most developers use a virtual environment when creating new projects. A 
virtual env separates the dependencies between different projects. It is 
not necessary for you to do that on your first project so don't worry about 
it. You can always watch youtube tutorials on creating virtual envs later 
on. 

On Tuesday, July 2, 2019 at 9:25:35 PM UTC-5, Scott Winter wrote:
>
> 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?
>>
>>
>>
>> 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:

 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:
>>
>>
>>
>> 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 
>>> "mysite". 
>>> Even stranger is that when I type 'tree' for this folder it shows that 
>>> its 
>>> on the computer, but there's nothing in it besides 'migrations' and 
>>> '_pycache_ '. Please refer to the screenshot attached for a picture of 
>>> the 
>>> Powershell code. If someone could help steer me in the right direction 
>>> that 
>>> would be great! 
>>>
>>
>>
>>
>> Can you run the server Without Creating a new app? 
>>
> -- 
> 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...@googlegroups.com.
> To post to this group, send email to django...@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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/5f8b834e-13f5-4806-a2df-b8d8a1bfa4fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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?
>
>
>
> 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:
>>>
>>> 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:
>
>
>
> 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 
>> "mysite". 
>> Even stranger is that when I type 'tree' for this folder it shows that 
>> its 
>> on the computer, but there's nothing in it besides 'migrations' and 
>> '_pycache_ '. Please refer to the screenshot attached for a picture of 
>> the 
>> Powershell code. If someone could help steer me in the right direction 
>> that 
>> would be great! 
>>
>
>
>
> Can you run the server Without Creating a new app? 
>
 -- 
 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...@googlegroups.com.
 To post to this group, send email to django...@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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/e626597d-e0f9-46e6-aedf-a153754dc821%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:
>>
>> 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:



 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 
> "mysite". 
> Even stranger is that when I type 'tree' for this folder it shows that 
> its 
> on the computer, but there's nothing in it besides 'migrations' and 
> '_pycache_ '. Please refer to the screenshot attached for a picture of 
> the 
> Powershell code. If someone could help steer me in the right direction 
> that 
> would be great! 
>



 Can you run the server Without Creating a new app? 

>>> -- 
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/f0096a2f-3e0b-4a27-88d9-09e5a33e5781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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, 

 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 its 
 on the computer, but there's nothing in it besides 'migrations' and 
 '_pycache_ '. Please refer to the screenshot attached for a picture of the 
 Powershell code. If someone could help steer me in the right direction 
 that 
 would be great! 

>>>
>>>
>>>
>>> Can you run the server Without Creating a new app? 
>>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/42b1b4f9-fa43-4bb8-b9e0-b8f3cc0d2d30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:
>>
>>
>>
>> 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 "mysite".
>>> Even stranger is that when I type 'tree' for this folder it shows that its
>>> on the computer, but there's nothing in it besides 'migrations' and
>>> '_pycache_ '. Please refer to the screenshot attached for a picture of the
>>> Powershell code. If someone could help steer me in the right direction that
>>> would be great!
>>>
>>
>>
>>
>> Can you run the server Without Creating a new app?
>>
> --
> 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/003f95c0-4e7d-4806-af90-6a4e9f6da018%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/CAEJDTZ-HRzhjC_0LytOzSQCg2QgQ8iKjaQt1NMcWPrxcfMVh2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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, 
>>
>> 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 its 
>> on the computer, but there's nothing in it besides 'migrations' and 
>> '_pycache_ '. Please refer to the screenshot attached for a picture of the 
>> Powershell code. If someone could help steer me in the right direction that 
>> would be great! 
>>
>
>
>
> Can you run the server Without Creating a new app? 
>

-- 
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/003f95c0-4e7d-4806-af90-6a4e9f6da018%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 its 
>> on the computer, but there's nothing in it besides 'migrations' and 
>> '_pycache_ '. Please refer to the screenshot attached for a picture of the 
>> Powershell code. If someone could help steer me in the right direction that 
>> would be great! 
>>
>

-- 
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/93366fe6-ab9c-4568-a493-83c97f31bdb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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'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 its 
>> on the computer, but there's nothing in it besides 'migrations' and 
>> '_pycache_ '. Please refer to the screenshot attached for a picture of the 
>> Powershell code. If someone could help steer me in the right direction that 
>> would be great! 
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/8b63e259-40fa-4f96-b641-821218626be8%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/817df6e5-4bfc-4aca-bbe3-9982690fb2c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 "mysite". 
> Even stranger is that when I type 'tree' for this folder it shows that its 
> on the computer, but there's nothing in it besides 'migrations' and 
> '_pycache_ '. Please refer to the screenshot attached for a picture of the 
> Powershell code. If someone could help steer me in the right direction that 
> would be great! 
>



Can you run the server Without Creating a new app? 

-- 
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/29677695-a6b1-4482-a258-bbfadfad562f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
> 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 its 
> on the computer, but there's nothing in it besides 'migrations' and 
> '_pycache_ '. Please refer to the screenshot attached for a picture of the 
> Powershell code. If someone could help steer me in the right direction that 
> would be great! 
>

-- 
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/48f2366e-1823-422c-99c0-2ee9a557a9e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 its
>> on the computer, but there's nothing in it besides 'migrations' and
>> '_pycache_ '. Please refer to the screenshot attached for a picture of the
>> Powershell code. If someone could help steer me in the right direction that
>> would be great!
>>
>> --
>> 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/8b63e259-40fa-4f96-b641-821218626be8%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/CAKVKrTyvV2k6G8V0Q5yp%3DP6mkk4K%3D82Xn2thVWg_dmLhFe%3DKZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Polls app not showing?

2019-06-27 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 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 its
> on the computer, but there's nothing in it besides 'migrations' and
> '_pycache_ '. Please refer to the screenshot attached for a picture of the
> Powershell code. If someone could help steer me in the right direction that
> would be great!
>
> --
> 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/8b63e259-40fa-4f96-b641-821218626be8%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/CAKVKrTyxyyvgY9033YE0JZX4RyEtBbF_T3iR1QVKLBhFmRQUTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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):
>     question = models.CharField(max_length=200)
>     pub_date = models.DateTimeField('date published')
>     def __unicode__(self):
>         return self.question
>     def was_published_today(self):
>         return self.pub_date.date() == datetime.date.today()
>     class Admin:
>         pass
>
> 'class Admin' should be at the same indentation level as your class
> attribute, e.g. 'question' or 'pub_date'.
>
> On Jun 27, 4:54 pm, Moodie <[EMAIL PROTECTED]> wrote:
>
> > 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:
>
> > from django.db import models
> > import datetime
>
> > 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(self):
> >             return self.pub_date.date() == datetime.date.today()
> >             class Admin:
> >                 pass
>
> > class Choice(models.Model):
> >     poll = models.ForeignKey(Poll)
> >     choice = models.CharField(max_length=200)
> >     votes = models.IntegerField()
> >     def __unicode__(self):
> >         return self.choice
>
> > Any help would be great.
> > (ps running the latest trunk)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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):
>     question = models.CharField(max_length=200)
>     pub_date = models.DateTimeField('date published')
>     def __unicode__(self):
>         return self.question
>     def was_published_today(self):
>         return self.pub_date.date() == datetime.date.today()
>     class Admin:
>         pass
>
> 'class Admin' should be at the same indentation level as your class
> attribute, e.g. 'question' or 'pub_date'.
>
> On Jun 27, 4:54 pm, Moodie <[EMAIL PROTECTED]> wrote:
>
> > 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:
>
> > from django.db import models
> > import datetime
>
> > 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(self):
> >             return self.pub_date.date() == datetime.date.today()
> >             class Admin:
> >                 pass
>
> > class Choice(models.Model):
> >     poll = models.ForeignKey(Poll)
> >     choice = models.CharField(max_length=200)
> >     votes = models.IntegerField()
> >     def __unicode__(self):
> >         return self.choice
>
> > Any help would be great.
> > (ps running the latest trunk)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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(self):
return self.pub_date.date() == datetime.date.today()
class Admin:
pass

'class Admin' should be at the same indentation level as your class
attribute, e.g. 'question' or 'pub_date'.

On Jun 27, 4:54 pm, Moodie <[EMAIL PROTECTED]> wrote:
> 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:
>
> from django.db import models
> import datetime
>
> 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(self):
>             return self.pub_date.date() == datetime.date.today()
>             class Admin:
>                 pass
>
> class Choice(models.Model):
>     poll = models.ForeignKey(Poll)
>     choice = models.CharField(max_length=200)
>     votes = models.IntegerField()
>     def __unicode__(self):
>         return self.choice
>
> Any help would be great.
> (ps running the latest trunk)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---