Re: New to Django

2022-11-06 Thread Kevin gallagher
Thanks for the help! 

On Thursday, November 3, 2022 at 7:28:08 PM UTC subtitle indo wrote:

> Please let me know if that sounds okay.
>
> On Wed, Nov 2, 2022 at 6:05 PM Kevin gallagher  
> wrote:
>
>> Hi guys,
>> Im currently learning django and am doing a project for college. Im 
>> building an appointment website users can book a training session. These 
>> are my models:
>>
>> class TimeSlot(models.Model):
>>
>> title = models.CharField(max_length=50)
>>
>> def __str__(self):
>> return f'There is a slot at {self.title}'
>>
>>
>> class Booking(models.Model):
>>
>> user = models.ForeignKey(settings.AUTH_USER_MODEL,
>>  on_delete=models.CASCADE)
>> time_slot = models.ForeignKey(TimeSlot, on_delete=models.CASCADE)
>> booking_date = models.DateField(("Date"), default=date.today)
>>
>> def __str__(self):
>> return f'{self.user} has booked a session at 
>> {self.timeslot.title} on {self.booking_date}'
>>
>> I have the title field set as available session times, 1-2pm, 3-4pm etc.
>> I want the user to select a date and then be able to see what time slots 
>> are still available to book but I'm kind of lost and confused. Any help 
>> would be much appreciated! 
>>  
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1c6c2ab1-f852-4503-81c5-d072cf2dbb02n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/df45710f-3081-4836-bd09-d8060069d974n%40googlegroups.com.


Re: New to Django

2022-11-02 Thread Sebastian Jung
Hello kevin,

There are several django booking apps like this
https://github.com/bernii/django-reservations

I think its easier to change existing code to your requirements then begin
from strech.

Good luck

Kevin gallagher  schrieb am Mi., 2. Nov. 2022,
18:04:

> Hi guys,
> Im currently learning django and am doing a project for college. Im
> building an appointment website users can book a training session. These
> are my models:
>
> class TimeSlot(models.Model):
>
> title = models.CharField(max_length=50)
>
> def __str__(self):
> return f'There is a slot at {self.title}'
>
>
> class Booking(models.Model):
>
> user = models.ForeignKey(settings.AUTH_USER_MODEL,
>  on_delete=models.CASCADE)
> time_slot = models.ForeignKey(TimeSlot, on_delete=models.CASCADE)
> booking_date = models.DateField(("Date"), default=date.today)
>
> def __str__(self):
> return f'{self.user} has booked a session at {self.timeslot.title}
> on {self.booking_date}'
>
> I have the title field set as available session times, 1-2pm, 3-4pm etc.
> I want the user to select a date and then be able to see what time slots
> are still available to book but I'm kind of lost and confused. Any help
> would be much appreciated!
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1c6c2ab1-f852-4503-81c5-d072cf2dbb02n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mys0yJGpE_TOW87ruPnvvxWzwh-Jo%2B3MrDSt_j9dmK4-A%40mail.gmail.com.


Re: New to Django

2021-10-16 Thread Lalit Suthar
I recommand
https://www.youtube.com/playlist?list=PLEsfXFp6DpzRMby_cSoWTFw8zaMdTEXgL

On Sun, 3 Oct 2021 at 17:32, bnmng  wrote:

> I think you'll get a few opinions on this.  My opinion is no.  I feel the
> docs are very good but difficult to understand as a beginner.  I like
> Mozilla's into with the Local Library tutorial to get started
> https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django
>
> On Friday, October 1, 2021 at 11:09:04 PM UTC-4 richluet...@gmail.com
> wrote:
>
>> Hi, I want to learn django very well but tutorials like youtube videos,
>> books and pay for online courses are not really satisfying me that much .
>> So if I decide to learn django directly from the documentation will I learn
>> good enough to Intermediate and Advance level ?  if yes please help me with
>> an order path to follow. Thanks
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a928d80a-eaf4-495e-8e0f-abc46ba3c9a0n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVHuh_m__mZ1UDr4chw7fctJbf3offf4o9%2BLRcCPg9j8Uw%40mail.gmail.com.


Re: New to Django

2021-10-14 Thread Adrian Valenzuela

Nice! Thanks for this! I'm new too and this already looks like a great 
resource.
On Sunday, October 3, 2021 at 5:01:41 AM UTC-7 bnmng wrote:

> I think you'll get a few opinions on this.  My opinion is no.  I feel the 
> docs are very good but difficult to understand as a beginner.  I like 
> Mozilla's into with the Local Library tutorial to get started 
> https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django
>
> On Friday, October 1, 2021 at 11:09:04 PM UTC-4 richluet...@gmail.com 
> wrote:
>
>> Hi, I want to learn django very well but tutorials like youtube videos, 
>> books and pay for online courses are not really satisfying me that much . 
>> So if I decide to learn django directly from the documentation will I learn 
>> good enough to Intermediate and Advance level ?  if yes please help me with 
>> an order path to follow. Thanks
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7d456d90-2a21-42f3-9d25-d694e6069283n%40googlegroups.com.


Re: New to Django

2021-10-05 Thread Adeyemi Deji
Hi, I started roughly too. Began paying attention as it started getting 
interesting. Django documentation was actually wat got me started but 
before that I went through some pdfs, had a lot of that on my pc. The poll 
app in django documentation really helped, don't think I would be where I 
am today if I didn't go through building the poll app as I walk through the 
documentation. Also there is this guy on youtube, don't know if you have 
heard of Dennis Ivy, he is really awesome, his story really got me and I 
have never forgotten it till 
date. https://www.youtube.com/channel/UCTZRcDjjkVajGL6wd76UnGg

On Saturday, October 2, 2021 at 5:09:04 AM UTC+2 richluet...@gmail.com 
wrote:

> Hi, I want to learn django very well but tutorials like youtube videos, 
> books and pay for online courses are not really satisfying me that much . 
> So if I decide to learn django directly from the documentation will I learn 
> good enough to Intermediate and Advance level ?  if yes please help me with 
> an order path to follow. Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/04006489-2726-4dea-b4cf-bd174ee96b7fn%40googlegroups.com.


Re: New to Django

2021-10-03 Thread bnmng
I think you'll get a few opinions on this.  My opinion is no.  I feel the 
docs are very good but difficult to understand as a beginner.  I like 
Mozilla's into with the Local Library tutorial to get 
started https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django

On Friday, October 1, 2021 at 11:09:04 PM UTC-4 richluet...@gmail.com wrote:

> Hi, I want to learn django very well but tutorials like youtube videos, 
> books and pay for online courses are not really satisfying me that much . 
> So if I decide to learn django directly from the documentation will I learn 
> good enough to Intermediate and Advance level ?  if yes please help me with 
> an order path to follow. Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a928d80a-eaf4-495e-8e0f-abc46ba3c9a0n%40googlegroups.com.


Re: new in Django

2021-08-05 Thread Fulbéria Tangbé
I'm fine!

Le jeu. 29 juil. 2021 à 13:06, Ogara Dennis  a
écrit :

> Hello Friends
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1188f76d-5662-47b9-adb6-a828c8369fc8n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA5QTRVi8HPAfTVb09%2Bcn_J5ivV%3DpDAnsQRKQ21h_%2BUqjaXwgA%40mail.gmail.com.


RE: Re: NEW TO DJANGO

2020-05-20 Thread Vishesh Mangla
  Sent from Mail for Windows 10 From: Madhav NandanSent: 20 May 2020 22:19To: Django usersSubject: Re: NEW TO DJANGO I need to know what I should do so that once I click a hyperlink, it will redirect me to a payment page and I need to make a working payment option like paypal integration or razorpay integration. I did installed sdk, I made account on razorpay. what next? thanks for response. From: Madhav NandanSent: 19 May 2020 20:34To: django...@googlegroups.comSubject: NEW TO DJANGO Dear Django fellas, I'm new to Django here. I started learning and it's been a while and I'm facing a lot of issues. Can somebody help me with ''how can I integrate a payment system like PayPal to a link?'' Like I have a link, if someone clicks on that link that will redirect the user to the payment page and there on the payment provider works. I just need to get started and somebody can guide me here hopefully. I don't' need code or so. Help me here. Best regards,-- Madhav Nandancell: 9170459494Skype: gaurav.kumar3992 -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/63a1a453-ee38-4eba-85f7-a4d6f46c367d%40googlegroups.com. 



-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ec5605b.1c69fb81.9a1f5.8ba9%40mx.google.com.


RE: Re: NEW TO DJANGO

2020-05-20 Thread Vishesh Mangla
Haven’t you used the redirect() function in Django? Sent from Mail for Windows 10 From: Madhav NandanSent: 20 May 2020 22:19To: Django usersSubject: Re: NEW TO DJANGO I need to know what I should do so that once I click a hyperlink, it will redirect me to a payment page and I need to make a working payment option like paypal integration or razorpay integration. I did installed sdk, I made account on razorpay. what next? thanks for response. From: Madhav NandanSent: 19 May 2020 20:34To: django...@googlegroups.comSubject: NEW TO DJANGO Dear Django fellas, I'm new to Django here. I started learning and it's been a while and I'm facing a lot of issues. Can somebody help me with ''how can I integrate a payment system like PayPal to a link?'' Like I have a link, if someone clicks on that link that will redirect the user to the payment page and there on the payment provider works. I just need to get started and somebody can guide me here hopefully. I don't' need code or so. Help me here. Best regards,-- Madhav Nandancell: 9170459494Skype: gaurav.kumar3992 -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/63a1a453-ee38-4eba-85f7-a4d6f46c367d%40googlegroups.com. 



-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ec55fec.1c69fb81.99dba.9ce0%40mx.google.com.


Re: NEW TO DJANGO

2020-05-20 Thread Madhav Nandan
I need to know what I should do so that once I click a hyperlink, it will 
redirect me to a payment page and I need to make a working payment option 
like paypal integration or razorpay integration.

I did installed sdk, I made account on razorpay. what next?

thanks for response.


 
>
> *From: *Madhav Nandan 
> *Sent: *19 May 2020 20:34
> *To: *django...@googlegroups.com 
> *Subject: *NEW TO DJANGO
>
>  
>
> Dear Django fellas,
>
>  
>
> I'm new to Django here. I started learning and it's been a while and I'm 
> facing a lot of issues. Can somebody help me with *''how can I integrate 
> a payment system like PayPal to a link?''*
>
>  Like I have a link, if someone clicks on that link that will redirect the 
> user to the payment page and there on the payment provider works.
>
>  
>
> I just need to get started and somebody can guide me here hopefully. I 
> don't' need code or so.
>
>  
>
> Help me here.
>
>  
>
> Best regards,
>
>  
>
>  
>
>  
>
>  
>
> -- 
>
> Madhav Nandan
>
> cell: 9170459494
>
> Skype: gaurav.kumar3992
>
>  
>
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com
>  
> 
> .
>
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/63a1a453-ee38-4eba-85f7-a4d6f46c367d%40googlegroups.com.


Re: NEW TO DJANGO

2020-05-19 Thread Akshat Zala
You can study https://developer.paypal.com/docs/api/quickstart/ 

On Wednesday, 20 May 2020 08:57:06 UTC+5:30, Akshat Zala wrote:
>
> I agree with Vishesh, You require api key which needs to be in settings.py 
> file
>
> On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wrote:
>>
>> Your question is not clear to me. What exactly do you want ?You do not 
>> require django to go to a site , rather you require a hyperlink.
>>
>>  
>>
>>  
>>
>> Sent from Mail  for 
>> Windows 10
>>
>>  
>>
>> *From: *Madhav Nandan
>> *Sent: *19 May 2020 20:34
>> *To: *django...@googlegroups.com
>> *Subject: *NEW TO DJANGO
>>
>>  
>>
>> Dear Django fellas,
>>
>>  
>>
>> I'm new to Django here. I started learning and it's been a while and I'm 
>> facing a lot of issues. Can somebody help me with *''how can I integrate 
>> a payment system like PayPal to a link?''*
>>
>>  Like I have a link, if someone clicks on that link that will redirect 
>> the user to the payment page and there on the payment provider works.
>>
>>  
>>
>> I just need to get started and somebody can guide me here hopefully. I 
>> don't' need code or so.
>>
>>  
>>
>> Help me here.
>>
>>  
>>
>> Best regards,
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>> -- 
>>
>> Madhav Nandan
>>
>> cell: 9170459494
>>
>> Skype: gaurav.kumar3992
>>
>>  
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com
>>  
>> 
>> .
>>
>>  
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/116f376b-07de-4527-9a07-cbe22515a7bb%40googlegroups.com.


Re: NEW TO DJANGO

2020-05-19 Thread Hella Nick
你是阿三吗?

Akshat Zala  于2020年5月20日周三 上午11:27写道:

> I agree with Vishesh, You require api key which needs to be in settings.py
> file
>
> On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wrote:
>>
>> Your question is not clear to me. What exactly do you want ?You do not
>> require django to go to a site , rather you require a hyperlink.
>>
>>
>>
>>
>>
>> Sent from Mail  for
>> Windows 10
>>
>>
>>
>> *From: *Madhav Nandan
>> *Sent: *19 May 2020 20:34
>> *To: *django...@googlegroups.com
>> *Subject: *NEW TO DJANGO
>>
>>
>>
>> Dear Django fellas,
>>
>>
>>
>> I'm new to Django here. I started learning and it's been a while and I'm
>> facing a lot of issues. Can somebody help me with *''how can I integrate
>> a payment system like PayPal to a link?''*
>>
>>  Like I have a link, if someone clicks on that link that will redirect
>> the user to the payment page and there on the payment provider works.
>>
>>
>>
>> I just need to get started and somebody can guide me here hopefully. I
>> don't' need code or so.
>>
>>
>>
>> Help me here.
>>
>>
>>
>> Best regards,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Madhav Nandan
>>
>> cell: 9170459494
>>
>> Skype: gaurav.kumar3992
>>
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com
>> 
>> .
>>
>>
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/433e54a0-11c6-490a-b21a-d2ab4de778c2%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHfGPEezv6e-TRVG6en43jxfdPe9CDGL2hKR_Wtz-XfJDYkPWw%40mail.gmail.com.


Re: NEW TO DJANGO

2020-05-19 Thread Akshat Zala
I agree with Vishesh, You require api key which needs to be in settings.py 
file

On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wrote:
>
> Your question is not clear to me. What exactly do you want ?You do not 
> require django to go to a site , rather you require a hyperlink.
>
>  
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *Madhav Nandan 
> *Sent: *19 May 2020 20:34
> *To: *django...@googlegroups.com 
> *Subject: *NEW TO DJANGO
>
>  
>
> Dear Django fellas,
>
>  
>
> I'm new to Django here. I started learning and it's been a while and I'm 
> facing a lot of issues. Can somebody help me with *''how can I integrate 
> a payment system like PayPal to a link?''*
>
>  Like I have a link, if someone clicks on that link that will redirect the 
> user to the payment page and there on the payment provider works.
>
>  
>
> I just need to get started and somebody can guide me here hopefully. I 
> don't' need code or so.
>
>  
>
> Help me here.
>
>  
>
> Best regards,
>
>  
>
>  
>
>  
>
>  
>
> -- 
>
> Madhav Nandan
>
> cell: 9170459494
>
> Skype: gaurav.kumar3992
>
>  
>
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com
>  
> 
> .
>
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/433e54a0-11c6-490a-b21a-d2ab4de778c2%40googlegroups.com.


RE: NEW TO DJANGO

2020-05-19 Thread Vishesh Mangla
Your question is not clear to me. What exactly do you want ?You do not require django to go to a site , rather you require a hyperlink.  Sent from Mail for Windows 10 From: Madhav NandanSent: 19 May 2020 20:34To: django-users@googlegroups.comSubject: NEW TO DJANGO Dear Django fellas, I'm new to Django here. I started learning and it's been a while and I'm facing a lot of issues. Can somebody help me with ''how can I integrate a payment system like PayPal to a link?'' Like I have a link, if someone clicks on that link that will redirect the user to the payment page and there on the payment provider works. I just need to get started and somebody can guide me here hopefully. I don't' need code or so. Help me here. Best regards,-- Madhav Nandancell: 9170459494Skype: gaurav.kumar3992 -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGXYL6JYzv%3DvTRNXc1ZqSvJ-6S%3DOSJt%2B%3D_%3DhLqvwyaD0Z_NoDA%40mail.gmail.com. 



-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ec3f74c.1c69fb81.5e199.c04c%40mx.google.com.


Re: New to Django, can't get it running on the web through http://127.0.0.1:8000/

2020-04-26 Thread Adam H
I realize this is an old post. so this is for the next person who stumbles 
in here looking for an answer to the same question.
I had the same problem. for me, i was missing a colon in my code. it was 
that simple. check for red underlines in your code
i tried runserver again, python3 manage.py runserver. and the error 
generated led me right to the issue. hope this helps someone.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8d946444-912d-4de9-9c9c-c8c85c0a348e%40googlegroups.com.


Re: New to Django to select between 3.0 and 2.2

2020-03-13 Thread אורי
Hi Mrinal,

It depends on the packages you are using (dependencies). Which Django
version do they support? If all your dependencies support Django 3.0, go
for it. Otherwise, go for 2.2. I'm personally still using Django 2.1 for
Speedy Net, but I'm waiting for PR #12332 to be released to production,
which is expected next month. So in general, the selection of which Django
version you use depends on your dependencies.

אורי
u...@speedy.net


On Thu, Mar 12, 2020 at 11:54 AM Mrinal Kamboj  wrote:

> Hello,
>
> I have just started the Python development, I am very new to the Python
> and have to select between Django versions 3.0 and 2.2, where 2.2 is LTS
> and 3.0 is current main stream.
>
> Does the current 3.0 Packages can still have the compatibility issues and
> would take some time to be stable so it would be better to choose 2.2 or is
> the 3.0 ready for the production development. and that  should be the
> choice.
>
> Kindly help with the relevant information and links.
>
> Thanks,
>
> Mrinal
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0d89a17b-35b8-43a3-b592-35180320bff3%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeHuZdTkrRmUAGPVQZaYZNL_m37Onw%2B%3D780-RowZSji%2BSQ%40mail.gmail.com.


Re: New to Django to select between 3.0 and 2.2

2020-03-13 Thread Andréas Kühne
Hi Mrinal,

Django is a very mature framework - new releases rarely have any issues
that hinder them from being used in production. For a new project you
should definitely go for 3.0 - you will start with the correct structure
for the new async features and you will also not have any issues with being
able to release. We have a production environment running on 3.0.4
currently (and upgrading the other project to 3.0.4).

Also - you will probably not be finished with your project before all the
minor issues (mainly security related) will be fixed in the 3.0 branch :)

Regards,

Andréas


Den tors 12 mars 2020 kl 10:55 skrev Mrinal Kamboj :

> Hello,
>
> I have just started the Python development, I am very new to the Python
> and have to select between Django versions 3.0 and 2.2, where 2.2 is LTS
> and 3.0 is current main stream.
>
> Does the current 3.0 Packages can still have the compatibility issues and
> would take some time to be stable so it would be better to choose 2.2 or is
> the 3.0 ready for the production development. and that  should be the
> choice.
>
> Kindly help with the relevant information and links.
>
> Thanks,
>
> Mrinal
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0d89a17b-35b8-43a3-b592-35180320bff3%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCfFSZCCAmRq1P0gWCZh8td%3DDKxmicKHvhkRrYaXsyP_3Q%40mail.gmail.com.


Re: new to django

2020-03-03 Thread Naveen Arora
Hi, 

Have a look at my tutorials :)

https://www.geeksforgeeks.org/django-tutorial/

Cheers,
Naveen Arora

On Sunday, 1 March 2020 23:34:45 UTC+5:30, Gurjot Kawatra wrote:
>
> hello everyone ...if anybody could help me out
> my django server is started and i'm able to see congratulation messege...
> now plz tell me the next step to create a project and run and watching 
> output at the localhost:8000
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/68101164-382b-4f2e-96a8-0fc17682de62%40googlegroups.com.


Re: new to django

2020-03-02 Thread victor awakan
You can first try the django official tutorial. This will give you a rough 
idea how things works. https://docs.djangoproject.com/en/3.0/

On Sunday, March 1, 2020 at 8:04:45 PM UTC+2, Gurjot Kawatra wrote:
>
> hello everyone ...if anybody could help me out
> my django server is started and i'm able to see congratulation messege...
> now plz tell me the next step to create a project and run and watching 
> output at the localhost:8000
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c2432f2a-87d9-4065-b30c-406bf55eb2b9%40googlegroups.com.


Re: new to django

2020-03-02 Thread Lokendra Chouhan
Django life cycle link -
https://www.reddit.com/r/webexpert/comments/dgp283/django_request_response_cycle/

On Mon, Mar 2, 2020 at 12:41 PM Aditya Khatwa 
wrote:

> Congratulations 1st step completed a 100 more to go.
>
> On Sun, 1 Mar 2020, 23:55 Omkar Parab,  wrote:
>
>> Here's the Perfect Django tutorial.
>> From development to production.
>> 
>> https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
>>
>> On Sun, Mar 1, 2020, 11:33 PM Gurjot Kawatra 
>> wrote:
>>
>>> hello everyone ...if anybody could help me out
>>> my django server is started and i'm able to see congratulation messege...
>>> now plz tell me the next step to create a project and run and watching
>>> output at the localhost:8000
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/f336394b-8fff-4893-ac04-ee5049357d85%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJY8mfz_etvYx68asZwps0Fqb67_arNW6ByC%3DzpFg62OEo8rgw%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOnqjLwzM9iokN0VAmzxLv_yYhbpSN59BGrYaNc7NpQByu%2B%3DSA%40mail.gmail.com
> 
> .
>


-- 
Thanks & Regards,
*Lokendra Singh Chouhan*,
*Software Developer  | VulpineCode Technologies*,
http://www.vulpinecode.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM55b4uQD7Y66f%3DkH33y-4HwFCZn6Zi75Y6sCO1LHy%3DFxbcR2w%40mail.gmail.com.


Re: new to django

2020-03-01 Thread Aditya Khatwa
Congratulations 1st step completed a 100 more to go.

On Sun, 1 Mar 2020, 23:55 Omkar Parab,  wrote:

> Here's the Perfect Django tutorial.
> From development to production.
> 
> https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
>
> On Sun, Mar 1, 2020, 11:33 PM Gurjot Kawatra  wrote:
>
>> hello everyone ...if anybody could help me out
>> my django server is started and i'm able to see congratulation messege...
>> now plz tell me the next step to create a project and run and watching
>> output at the localhost:8000
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f336394b-8fff-4893-ac04-ee5049357d85%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJY8mfz_etvYx68asZwps0Fqb67_arNW6ByC%3DzpFg62OEo8rgw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOnqjLwzM9iokN0VAmzxLv_yYhbpSN59BGrYaNc7NpQByu%2B%3DSA%40mail.gmail.com.


Re: new to django

2020-03-01 Thread Omkar Parab
Here's the Perfect Django tutorial.
>From development to production.

https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p

On Sun, Mar 1, 2020, 11:33 PM Gurjot Kawatra  wrote:

> hello everyone ...if anybody could help me out
> my django server is started and i'm able to see congratulation messege...
> now plz tell me the next step to create a project and run and watching
> output at the localhost:8000
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f336394b-8fff-4893-ac04-ee5049357d85%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJY8mfz_etvYx68asZwps0Fqb67_arNW6ByC%3DzpFg62OEo8rgw%40mail.gmail.com.


Re: New to Django and Python

2020-01-05 Thread Hedrick Godson's
Wish you well with ur new journey

On Sun, 5 Jan 2020, 16:50 'Dash LaLonde' via Django users <
django-users@googlegroups.com> wrote:

> Hello,
>
> Just wanted to say hello and let you all know that I will probably be
> posting many questions.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a6f4efee-bae9-4acd-ada9-795b8dbe67a5%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJAxQDmKQbv74jnYEuUiLAu9xxG9LReJ-TzRby78J852%3DwSHEw%40mail.gmail.com.


Re: New project Django.....any one willing to assist in doing a project...

2019-07-10 Thread Nitin Kalmaste
Can you will teach me I am also starting django

On Wed 10 Jul, 2019, 4:56 PM Joel Rotich,  wrote:

> Share your emailNeed someone really quickI have some basics but I
> need to work with an expert to speed up. I will pay for Hrs used.
>
> --
> 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/d0a6e833-0933-4014-bbfd-8651f593c513%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/CAKroR%2B1o1bD5%2BsJbRUDfXsPpvdPEmLMSU2v9sQ%2BFySk6MM0ONA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-12-16 Thread Pradeep Sukhwani
Normally this type of issue comes when you are not using the environment 
where Django is installed or maybe you forgot to install Django. To confirm 
Django is install successfully run this in your terminal: 
python -c "import django; print(django.get_version())"

On Saturday, December 15, 2018 at 11:24:32 PM UTC+5:30, elddi...@gmail.com 
wrote:
>
> Hello - I'm trying to get Django up and running and I'm having some likely 
> trivial trouble. I'm following the "Writing your first Django app" 
> tutorial, but I'm getting stuck trying to create the project using 
> 'django-admin 
> startproject mysite'. The output says command not found. I've tried 
> troubleshooting but haven't had any luck so far. Any assistance is much 
> appreciated. 
>

-- 
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/6588ab93-29b4-4791-8a4a-1597b9ceac64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-12-16 Thread Steven N
I think you have not installed django,  `pip install django` you can
confirm if django is installed in your current environment by doing `pip
list` if it is, you will see it in the list. This
 might come in handy

On Sun, Dec 16, 2018, 1:47 PM Okware Aldo  I can remotely help, provide access me with remote access or push code
> github
>
> On Sat, 15 Dec 2018, 20:54 
>> Hello - I'm trying to get Django up and running and I'm having some
>> likely trivial trouble. I'm following the "Writing your first Django app"
>> tutorial, but I'm getting stuck trying to create the project using 
>> 'django-admin
>> startproject mysite'. The output says command not found. I've tried
>> troubleshooting but haven't had any luck so far. Any assistance is much
>> appreciated.
>>
>> --
>> 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/b2057d6f-270c-4916-bf6d-da1cbf4e7c87%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/CAMEZma9fAWn%3DzToF-DF%2B4KyRZjEH_KYAc2_rThE8jcVt2gPQNw%40mail.gmail.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/CACem%2B%2BXdzWOOnJq5QyZjGuFmhNxLPJYPo_K1%2Bod%2BmJ%3DcTUBkig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-12-16 Thread tom riddle
Thanks for the responses. I was able to figure this out - I believe my
issue was that I did not activate the virtual environment and cd into the
folder containing the Django-admin exec file. Once I did that the command
worked.

On Sun, Dec 16, 2018 at 5:47 AM Okware Aldo  wrote:

> I can remotely help, provide access me with remote access or push code
> github
>
> On Sat, 15 Dec 2018, 20:54 
>> Hello - I'm trying to get Django up and running and I'm having some
>> likely trivial trouble. I'm following the "Writing your first Django app"
>> tutorial, but I'm getting stuck trying to create the project using 
>> 'django-admin
>> startproject mysite'. The output says command not found. I've tried
>> troubleshooting but haven't had any luck so far. Any assistance is much
>> appreciated.
>>
>> --
>> 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/b2057d6f-270c-4916-bf6d-da1cbf4e7c87%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/CAMEZma9fAWn%3DzToF-DF%2B4KyRZjEH_KYAc2_rThE8jcVt2gPQNw%40mail.gmail.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/CAKWYn%3DE8BB%3DZ-nRa398MVhKHL6efd-jyPtZfZAbaUiUjj6kvXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-12-16 Thread Okware Aldo
I can remotely help, provide access me with remote access or push code
github

On Sat, 15 Dec 2018, 20:54  Hello - I'm trying to get Django up and running and I'm having some likely
> trivial trouble. I'm following the "Writing your first Django app"
> tutorial, but I'm getting stuck trying to create the project using 
> 'django-admin
> startproject mysite'. The output says command not found. I've tried
> troubleshooting but haven't had any luck so far. Any assistance is much
> appreciated.
>
> --
> 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/b2057d6f-270c-4916-bf6d-da1cbf4e7c87%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/CAMEZma9fAWn%3DzToF-DF%2B4KyRZjEH_KYAc2_rThE8jcVt2gPQNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-12-15 Thread Gene LaRose
Have you installed a new environment and django?

On Sat, Dec 15, 2018, 12:53 PM  Hello - I'm trying to get Django up and running and I'm having some likely
> trivial trouble. I'm following the "Writing your first Django app"
> tutorial, but I'm getting stuck trying to create the project using 
> 'django-admin
> startproject mysite'. The output says command not found. I've tried
> troubleshooting but haven't had any luck so far. Any assistance is much
> appreciated.
>
> --
> 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/b2057d6f-270c-4916-bf6d-da1cbf4e7c87%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/CAJRs1QhF-iu%3D1gLW5AXp5%3DXEPgWShk%3DpZ3APEjROgYB6VsdBfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django: Please Help!! Django User Model not saving first_name, last_name and email - Authentication App

2018-10-30 Thread Adrian Chipukuma
I have  sorted it out using  a different approach  'AbstractUser'. Thanks

On Tue, Oct 30, 2018, 12:19 PM Adrian Chipukuma 
wrote:

> Thanks  for the help.  Though if I  remove  the declarations of the
> first_name, last_name and email. Then  I will  not be able to see these  in
> the Register form.. The fields password1 and password2 are just working
> well and can be saved...  The issue  is on the  first_name, last_name and
> email fields...  I can't save them using  the django form..
>
> On Tue, Oct 30, 2018, 7:49 AM Manjunath  wrote:
>
>> Remove declaration of first_name, last_name & email in Form calss.
>> class SignUpForm(UserCreationForm):
>> class meta():
>> model = User
>> fields = ('username', 'first_name', 'last_name', 'email',
>> 'password1', 'password2', )
>>
>>  And while Saving the form, follow below steps.
>> if form.is_valid():
>>new_user = form.save(commit=False)
>>new_user.set_password(form.cleaned_data['password1'])
>>   new_user.save()
>>   # Your next steps
>>
>>
>> I think you might need to declare password1 & password2 fields in your
>> Form. Do Check.
>>
>>
>>
>> On Monday, October 29, 2018 at 10:04:39 PM UTC+5:30, Adrian Chipukuma
>> wrote:
>>>
>>> Hello,
>>>
>>> I am new to Django and enjoying the learning process, unfortunately I am
>>> stuck, and I need expert guidance.
>>> I am learning through developing a User Authentication System. The
>>> system is supposed to have a user registration functionality, login, user
>>> profile editing and logout. I have managed to create the login, logout
>>> functionalities and the registration functionality partly. The problem is
>>> on the registration, I am only able to save the 'username and password '
>>> using django forms, I have written the code for saving the first_name and
>>> the last _name as well as email but it seems not to be working, only the
>>> 'username and password' are saved.. I think I am missing something though
>>> no error comes up. Please anyone to guide me. Thank you.
>>> the code is as shown below:
>>>
>>>
>>> views.py
>>> from django.shortcuts import render, redirect
>>> from django.contrib.auth import authenticate, login, logout
>>> from django.contrib.auth.models import User
>>> from django.contrib import auth, messages
>>> from django.contrib.auth.forms import UserCreationForm
>>> from django import forms
>>> from .forms import SignUpForm
>>>
>>> def home(request):
>>> return render(request, 'authenticate/home.html', {})
>>>
>>> def login_user(request):
>>> if request.method == 'POST':
>>> username = request.POST['username']
>>> password = request.POST['password']
>>> user = authenticate(request, username=username, password=password)
>>> if user is not None:
>>> login(request, user)
>>> messages.success(request,('You have been logged in'))
>>> return redirect('home')
>>> else:
>>> messages.success(request,('Error Logging in!'))
>>> return redirect('login')
>>> else:
>>> return render(request, 'authenticate/login.html', {})
>>>
>>> def logout_user(request):
>>> """if request.method =='POST':"""
>>> logout(request)
>>> messages.success(request,('You have been logged out'))
>>> return redirect('home')
>>>
>>> def register_user(request):
>>> if request.method =='POST':
>>> form = SignUpForm(request.POST)
>>> if form.is_valid():
>>> form.save()
>>> username = form.cleaned_data['username']
>>> password = form.cleaned_data['password1']
>>> user = authenticate(username=username, password=password)
>>> login(request, user)
>>> messages.success(request,(' Successfully Registered!'))
>>> return redirect('home')
>>> else:
>>> form = SignUpForm()
>>>
>>> context = {'form': form }
>>> return render(request, 'authenticate/register.html', context)
>>>
>>> urls.py
>>>
>>> from django.urls import path
>>> from . import views
>>> urlpatterns = [
>>> path('', views.home, name="home"),
>>> path('login/', views.login_user, name="login"),
>>> path('logout/', views.logout_user, name='logout'),
>>> path('register/', views.register_user, name='register'),
>>> ]
>>>
>>> forms.py
>>> from django.contrib.auth.forms import UserCreationForm, UserChangeForm
>>> from django.contrib.auth.models import User
>>> from django import forms
>>>
>>> class SignUpForm(UserCreationForm):
>>> email = forms.EmailField()
>>> first_name = forms.CharField(max_length=100,)
>>> last_name = forms.CharField(max_length=100,)
>>> class meta():
>>> model = User
>>> fields = ('username', 'first_name', 'last_name', 'email', 'password1',
>>> 'password2', )
>>>
>>> register.html
>>> {% extends 'authenticate/base.html'%}
>>> {% block content%}
>>> This is the Registration Page
>>> 
>>> {% csrf_token %}
>>> {% if form.errors %}
>>> Your form has errors
>>> {{ error }}
>>> {% endif %}
>>> 
>>> {{ form.as_p }}
>>> 
>>> 
>>> 
>>> 
>>> {% endblock %}
>>>
>>>
>>> Chao!
>>>
>>> Adrian
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" 

Re: New to Django: Please Help!! Django User Model not saving first_name, last_name and email - Authentication App

2018-10-30 Thread Adrian Chipukuma
Thanks  for the help.  Though if I  remove  the declarations of the
first_name, last_name and email. Then  I will  not be able to see these  in
the Register form.. The fields password1 and password2 are just working
well and can be saved...  The issue  is on the  first_name, last_name and
email fields...  I can't save them using  the django form..

On Tue, Oct 30, 2018, 7:49 AM Manjunath  wrote:

> Remove declaration of first_name, last_name & email in Form calss.
> class SignUpForm(UserCreationForm):
> class meta():
> model = User
> fields = ('username', 'first_name', 'last_name', 'email',
> 'password1', 'password2', )
>
>  And while Saving the form, follow below steps.
> if form.is_valid():
>new_user = form.save(commit=False)
>new_user.set_password(form.cleaned_data['password1'])
>   new_user.save()
>   # Your next steps
>
>
> I think you might need to declare password1 & password2 fields in your
> Form. Do Check.
>
>
>
> On Monday, October 29, 2018 at 10:04:39 PM UTC+5:30, Adrian Chipukuma
> wrote:
>>
>> Hello,
>>
>> I am new to Django and enjoying the learning process, unfortunately I am
>> stuck, and I need expert guidance.
>> I am learning through developing a User Authentication System. The system
>> is supposed to have a user registration functionality, login, user profile
>> editing and logout. I have managed to create the login, logout
>> functionalities and the registration functionality partly. The problem is
>> on the registration, I am only able to save the 'username and password '
>> using django forms, I have written the code for saving the first_name and
>> the last _name as well as email but it seems not to be working, only the
>> 'username and password' are saved.. I think I am missing something though
>> no error comes up. Please anyone to guide me. Thank you.
>> the code is as shown below:
>>
>>
>> views.py
>> from django.shortcuts import render, redirect
>> from django.contrib.auth import authenticate, login, logout
>> from django.contrib.auth.models import User
>> from django.contrib import auth, messages
>> from django.contrib.auth.forms import UserCreationForm
>> from django import forms
>> from .forms import SignUpForm
>>
>> def home(request):
>> return render(request, 'authenticate/home.html', {})
>>
>> def login_user(request):
>> if request.method == 'POST':
>> username = request.POST['username']
>> password = request.POST['password']
>> user = authenticate(request, username=username, password=password)
>> if user is not None:
>> login(request, user)
>> messages.success(request,('You have been logged in'))
>> return redirect('home')
>> else:
>> messages.success(request,('Error Logging in!'))
>> return redirect('login')
>> else:
>> return render(request, 'authenticate/login.html', {})
>>
>> def logout_user(request):
>> """if request.method =='POST':"""
>> logout(request)
>> messages.success(request,('You have been logged out'))
>> return redirect('home')
>>
>> def register_user(request):
>> if request.method =='POST':
>> form = SignUpForm(request.POST)
>> if form.is_valid():
>> form.save()
>> username = form.cleaned_data['username']
>> password = form.cleaned_data['password1']
>> user = authenticate(username=username, password=password)
>> login(request, user)
>> messages.success(request,(' Successfully Registered!'))
>> return redirect('home')
>> else:
>> form = SignUpForm()
>>
>> context = {'form': form }
>> return render(request, 'authenticate/register.html', context)
>>
>> urls.py
>>
>> from django.urls import path
>> from . import views
>> urlpatterns = [
>> path('', views.home, name="home"),
>> path('login/', views.login_user, name="login"),
>> path('logout/', views.logout_user, name='logout'),
>> path('register/', views.register_user, name='register'),
>> ]
>>
>> forms.py
>> from django.contrib.auth.forms import UserCreationForm, UserChangeForm
>> from django.contrib.auth.models import User
>> from django import forms
>>
>> class SignUpForm(UserCreationForm):
>> email = forms.EmailField()
>> first_name = forms.CharField(max_length=100,)
>> last_name = forms.CharField(max_length=100,)
>> class meta():
>> model = User
>> fields = ('username', 'first_name', 'last_name', 'email', 'password1',
>> 'password2', )
>>
>> register.html
>> {% extends 'authenticate/base.html'%}
>> {% block content%}
>> This is the Registration Page
>> 
>> {% csrf_token %}
>> {% if form.errors %}
>> Your form has errors
>> {{ error }}
>> {% endif %}
>> 
>> {{ form.as_p }}
>> 
>> 
>> 
>> 
>> {% endblock %}
>>
>>
>> Chao!
>>
>> Adrian
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
> 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 

Re: New to Django: Please Help!! Django User Model not saving first_name, last_name and email - Authentication App

2018-10-29 Thread Manjunath
Remove declaration of first_name, last_name & email in Form calss.
class SignUpForm(UserCreationForm):
class meta():
model = User 
fields = ('username', 'first_name', 'last_name', 'email', 
'password1', 'password2', )

 And while Saving the form, follow below steps.
if form.is_valid():
   new_user = form.save(commit=False)
   new_user.set_password(form.cleaned_data['password1'])
  new_user.save()
  # Your next steps


I think you might need to declare password1 & password2 fields in your 
Form. Do Check.



On Monday, October 29, 2018 at 10:04:39 PM UTC+5:30, Adrian Chipukuma wrote:
>
> Hello, 
>
> I am new to Django and enjoying the learning process, unfortunately I am 
> stuck, and I need expert guidance. 
> I am learning through developing a User Authentication System. The system 
> is supposed to have a user registration functionality, login, user profile 
> editing and logout. I have managed to create the login, logout 
> functionalities and the registration functionality partly. The problem is 
> on the registration, I am only able to save the 'username and password ' 
> using django forms, I have written the code for saving the first_name and 
> the last _name as well as email but it seems not to be working, only the 
> 'username and password' are saved.. I think I am missing something though 
> no error comes up. Please anyone to guide me. Thank you.
> the code is as shown below:
>
>
> views.py
> from django.shortcuts import render, redirect
> from django.contrib.auth import authenticate, login, logout
> from django.contrib.auth.models import User
> from django.contrib import auth, messages
> from django.contrib.auth.forms import UserCreationForm
> from django import forms
> from .forms import SignUpForm
>
> def home(request):
> return render(request, 'authenticate/home.html', {})
>
> def login_user(request):
> if request.method == 'POST':
> username = request.POST['username']
> password = request.POST['password']
> user = authenticate(request, username=username, password=password)
> if user is not None:
> login(request, user)
> messages.success(request,('You have been logged in'))
> return redirect('home')
> else:
> messages.success(request,('Error Logging in!'))
> return redirect('login')
> else:
> return render(request, 'authenticate/login.html', {})
>
> def logout_user(request):
> """if request.method =='POST':"""
> logout(request)
> messages.success(request,('You have been logged out'))
> return redirect('home')
>
> def register_user(request):
> if request.method =='POST':
> form = SignUpForm(request.POST)
> if form.is_valid():
> form.save()
> username = form.cleaned_data['username']
> password = form.cleaned_data['password1']
> user = authenticate(username=username, password=password)
> login(request, user)
> messages.success(request,(' Successfully Registered!'))
> return redirect('home')
> else:
> form = SignUpForm()
>
> context = {'form': form }
> return render(request, 'authenticate/register.html', context)
>
> urls.py
>
> from django.urls import path
> from . import views
> urlpatterns = [
> path('', views.home, name="home"),
> path('login/', views.login_user, name="login"),
> path('logout/', views.logout_user, name='logout'),
> path('register/', views.register_user, name='register'),
> ]
>
> forms.py
> from django.contrib.auth.forms import UserCreationForm, UserChangeForm
> from django.contrib.auth.models import User
> from django import forms
>
> class SignUpForm(UserCreationForm):
> email = forms.EmailField()
> first_name = forms.CharField(max_length=100,)
> last_name = forms.CharField(max_length=100,)
> class meta():
> model = User 
> fields = ('username', 'first_name', 'last_name', 'email', 'password1', 
> 'password2', )
>
> register.html
> {% extends 'authenticate/base.html'%}
> {% block content%}
> This is the Registration Page
> 
> {% csrf_token %}
> {% if form.errors %}
> Your form has errors
> {{ error }}
> {% endif %}
> 
> {{ form.as_p }}
> 
> 
> 
> 
> {% endblock %}
>
>
> Chao!
>
> Adrian
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
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/9a58de45-95d1-4fc6-8948-0cc6994c85fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-24 Thread SHUBHAM .SINGH. RATHORE
First you createsuperuser than runserver

On Thu 18 Oct, 2018 2:50 pm ,  wrote:

> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
> is not working showing "django-admin' is not recognized as an internal or 
> external command," what to do?
>
> --
> 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/843b5648-de8b-49a7-99da-965a1c64e871%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/CALkhXJUwwL8GZTnGn6FfAm1GxWEhqkqsyRR%2Bsc4CXbvVRnVdQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-24 Thread Mamadou Harouna Diallo
Hello, Are you active your virtuel env ?
You must active the virtuel env

Le jeu. 18 oct. 2018 à 09:20,  a écrit :

> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
> is not working showing "django-admin' is not recognized as an internal or 
> external command," what to do?
>
> --
> 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/843b5648-de8b-49a7-99da-965a1c64e871%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/CAO73PDoE41eBESrZ_gwmhddStkV_OaZ8_OY6CX6t-_Hh7AsVBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-24 Thread maunish dave
Chech if you have installed django or not
Type this command on cmd ' django pip install'

On Wed 24 Oct, 2018, 8:05 PM Aditya Bohra,  wrote:

>
>
> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com
> wrote:
>>
>> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
>> is not working showing "django-admin' is not recognized as an internal or 
>> external command," what to do?
>>
>> Is it working now
>
> --
> 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/64032c27-c402-4f42-8530-12b2ca56ad5d%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/CALpJ3u%2Bpcqad6Mz3%2B4Tk_XSxjNOfFg2cZfNhNn93x-KvF5Tcmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-24 Thread Ing.Daniel Bojorge
Thanks for tell us.


Dios L@s Bendiga

Saludos,



[image: --]

daniel.bojorge
[image: http://]about.me/daniel.bojorge

 *Curso Django 2.1 (Course of Django 2.1)* 
Mi Blog 
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis
enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)



El mié., 24 oct. 2018 a las 8:35, Aditya Bohra ()
escribió:

>
>
> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com
> wrote:
>>
>> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
>> is not working showing "django-admin' is not recognized as an internal or 
>> external command," what to do?
>>
>> Is it working now
>
> --
> 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/64032c27-c402-4f42-8530-12b2ca56ad5d%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/CAMQeQjZRi_rnCmT2RHoVDnjLrWVb2pmnc-XuiNhSLgXbKDM2cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-24 Thread Aditya Bohra


On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com 
wrote:
>
> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
> is not working showing "django-admin' is not recognized as an internal or 
> external command," what to do?
>
> Is it working now

-- 
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/64032c27-c402-4f42-8530-12b2ca56ad5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Joel
No, sorry.

On Fri, 19 Oct, 2018, 9:18 AM Shubham Bajaj, 
wrote:

> I already did these all...
> Can u help me with team viewer if possible
>
> On Fri 19 Oct, 2018, 9:14 AM Joel,  wrote:
>
>> Or you may need to add the location of your installation directory to the
>> system path.
>>
>> On Fri, 19 Oct, 2018, 9:00 AM Shubham Bajaj, 
>> wrote:
>>
>>> Thank u..
>>>
>>> On Fri 19 Oct, 2018, 8:35 AM Joel Mathew,  wrote:
>>>
 just purge and reinstall django


 On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj 
 wrote:
 >
 > I tried this but it showing no module found django.core
 > Pls help me..
 >
 > On Fri 19 Oct, 2018, 6:37 AM satyam mishra, 
 wrote:
 >>
 >> just install all the necessary module needed, just open the location
 of project where you want your project located to be..for example if you
 want your project to be located in desktop then use cmd in cmd prompt 'cd
 desktop' then create your project by using the command ;django-admin
 startproject projectname
 >>
 >> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30,
 shubham...@gmail.com wrote:
 >>>
 >>> "django-admin startproject mysite" i tried to run this in cmd
 propmt but it is not working showing "django-admin' is not recognized as an
 internal or external command," what to do?
 >>
 >> --
 >> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.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/CAMT57gjNJKfscLSJx13YeK1vRVvhCVnqPB3btX-Y%2B8YPHBQRhw%40mail.gmail.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/CAA%3Diw_-2KmLfdBm5AiAVXht%2Bg2Z7BwBBRi860RxMtfdVBCCirw%40mail.gmail.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 

Re: new to django

2018-10-18 Thread Shubham Bajaj
Kk thanks..

On Fri 19 Oct, 2018, 9:22 AM Joel,  wrote:

> No, sorry.
>
> On Fri, 19 Oct, 2018, 9:18 AM Shubham Bajaj, 
> wrote:
>
>> I already did these all...
>> Can u help me with team viewer if possible
>>
>> On Fri 19 Oct, 2018, 9:14 AM Joel,  wrote:
>>
>>> Or you may need to add the location of your installation directory to
>>> the system path.
>>>
>>> On Fri, 19 Oct, 2018, 9:00 AM Shubham Bajaj, 
>>> wrote:
>>>
 Thank u..

 On Fri 19 Oct, 2018, 8:35 AM Joel Mathew,  wrote:

> just purge and reinstall django
>
>
> On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj 
> wrote:
> >
> > I tried this but it showing no module found django.core
> > Pls help me..
> >
> > On Fri 19 Oct, 2018, 6:37 AM satyam mishra, 
> wrote:
> >>
> >> just install all the necessary module needed, just open the
> location of project where you want your project located to be..for example
> if you want your project to be located in desktop then use cmd in cmd
> prompt 'cd desktop' then create your project by using the command
> ;django-admin startproject projectname
> >>
> >> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30,
> shubham...@gmail.com wrote:
> >>>
> >>> "django-admin startproject mysite" i tried to run this in cmd
> propmt but it is not working showing "django-admin' is not recognized as 
> an
> internal or external command," what to do?
> >>
> >> --
> >> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.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/CAMT57gjNJKfscLSJx13YeK1vRVvhCVnqPB3btX-Y%2B8YPHBQRhw%40mail.gmail.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/CAA%3Diw_-2KmLfdBm5AiAVXht%2Bg2Z7BwBBRi860RxMtfdVBCCirw%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit 

Re: new to django

2018-10-18 Thread Shubham Bajaj
I already did these all...
Can u help me with team viewer if possible

On Fri 19 Oct, 2018, 9:14 AM Joel,  wrote:

> Or you may need to add the location of your installation directory to the
> system path.
>
> On Fri, 19 Oct, 2018, 9:00 AM Shubham Bajaj, 
> wrote:
>
>> Thank u..
>>
>> On Fri 19 Oct, 2018, 8:35 AM Joel Mathew,  wrote:
>>
>>> just purge and reinstall django
>>>
>>>
>>> On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj 
>>> wrote:
>>> >
>>> > I tried this but it showing no module found django.core
>>> > Pls help me..
>>> >
>>> > On Fri 19 Oct, 2018, 6:37 AM satyam mishra,  wrote:
>>> >>
>>> >> just install all the necessary module needed, just open the location
>>> of project where you want your project located to be..for example if you
>>> want your project to be located in desktop then use cmd in cmd prompt 'cd
>>> desktop' then create your project by using the command ;django-admin
>>> startproject projectname
>>> >>
>>> >> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30,
>>> shubham...@gmail.com wrote:
>>> >>>
>>> >>> "django-admin startproject mysite" i tried to run this in cmd propmt
>>> but it is not working showing "django-admin' is not recognized as an
>>> internal or external command," what to do?
>>> >>
>>> >> --
>>> >> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.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/CAMT57gjNJKfscLSJx13YeK1vRVvhCVnqPB3btX-Y%2B8YPHBQRhw%40mail.gmail.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/CAA%3Diw_-2KmLfdBm5AiAVXht%2Bg2Z7BwBBRi860RxMtfdVBCCirw%40mail.gmail.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 

Re: new to django

2018-10-18 Thread Joel
Or you may need to add the location of your installation directory to the
system path.

On Fri, 19 Oct, 2018, 9:00 AM Shubham Bajaj, 
wrote:

> Thank u..
>
> On Fri 19 Oct, 2018, 8:35 AM Joel Mathew,  wrote:
>
>> just purge and reinstall django
>>
>>
>> On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj 
>> wrote:
>> >
>> > I tried this but it showing no module found django.core
>> > Pls help me..
>> >
>> > On Fri 19 Oct, 2018, 6:37 AM satyam mishra,  wrote:
>> >>
>> >> just install all the necessary module needed, just open the location
>> of project where you want your project located to be..for example if you
>> want your project to be located in desktop then use cmd in cmd prompt 'cd
>> desktop' then create your project by using the command ;django-admin
>> startproject projectname
>> >>
>> >> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30,
>> shubham...@gmail.com wrote:
>> >>>
>> >>> "django-admin startproject mysite" i tried to run this in cmd propmt
>> but it is not working showing "django-admin' is not recognized as an
>> internal or external command," what to do?
>> >>
>> >> --
>> >> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.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/CAMT57gjNJKfscLSJx13YeK1vRVvhCVnqPB3btX-Y%2B8YPHBQRhw%40mail.gmail.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/CAA%3Diw_-2KmLfdBm5AiAVXht%2Bg2Z7BwBBRi860RxMtfdVBCCirw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
Thank u..

On Fri 19 Oct, 2018, 8:35 AM Joel Mathew,  wrote:

> just purge and reinstall django
>
>
> On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj 
> wrote:
> >
> > I tried this but it showing no module found django.core
> > Pls help me..
> >
> > On Fri 19 Oct, 2018, 6:37 AM satyam mishra,  wrote:
> >>
> >> just install all the necessary module needed, just open the location of
> project where you want your project located to be..for example if you want
> your project to be located in desktop then use cmd in cmd prompt 'cd
> desktop' then create your project by using the command ;django-admin
> startproject projectname
> >>
> >> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30,
> shubham...@gmail.com wrote:
> >>>
> >>> "django-admin startproject mysite" i tried to run this in cmd propmt
> but it is not working showing "django-admin' is not recognized as an
> internal or external command," what to do?
> >>
> >> --
> >> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.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/CAMT57gjNJKfscLSJx13YeK1vRVvhCVnqPB3btX-Y%2B8YPHBQRhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Joel Mathew
just purge and reinstall django


On Fri, 19 Oct 2018 at 08:14, Shubham Bajaj  wrote:
>
> I tried this but it showing no module found django.core
> Pls help me..
>
> On Fri 19 Oct, 2018, 6:37 AM satyam mishra,  wrote:
>>
>> just install all the necessary module needed, just open the location of 
>> project where you want your project located to be..for example if you want 
>> your project to be located in desktop then use cmd in cmd prompt 'cd 
>> desktop' then create your project by using the command ;django-admin 
>> startproject projectname
>>
>> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com 
>> wrote:
>>>
>>> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
>>> is not working showing "django-admin' is not recognized as an internal or 
>>> external command," what to do?
>>
>> --
>> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.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/CAA%3Diw__1eS_JFh_X82v27%3DiDbt7cq4cy_yqSh6UeEO7x6ZGR%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
I tried this but it showing no module found django.core
Pls help me..

On Fri 19 Oct, 2018, 6:37 AM satyam mishra,  wrote:

> just install all the necessary module needed, just open the location of
> project where you want your project located to be..for example if you want
> your project to be located in desktop then use cmd in cmd prompt 'cd
> desktop' then create your project by using the command ;django-admin
> startproject projectname
>
> On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com
> wrote:
>>
>> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
>> is not working showing "django-admin' is not recognized as an internal or 
>> external command," what to do?
>>
>> --
> 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/d5574242-bfa6-4d42-a74c-18cab55b296a%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/CAMT57gi8y61x_XXgdM95P0BkQEp5-sLBdAC4qBn8jkjDbYy4cA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
I am using windows 10

On Fri 19 Oct, 2018, 12:59 AM Vivek Jha,  wrote:

> Use this step and don't forget to install pip3
> Command is for linux it is sido apt-get install Python3.6-pip3
>
> --
> 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/291cb631-701e-4109-9ab5-c0bdacb0e303%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/CAMT57gjO%2Bdnk%2B5zu8e2yCpD-wpVd4MRZmPJ5vh0KecPdeFJz4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread satyam mishra
just install all the necessary module needed, just open the location of 
project where you want your project located to be..for example if you want 
your project to be located in desktop then use cmd in cmd prompt 'cd 
desktop' then create your project by using the command ;django-admin 
startproject projectname

On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com 
wrote:
>
> "django-admin startproject mysite" i tried to run this in cmd propmt but it 
> is not working showing "django-admin' is not recognized as an internal or 
> external command," what to do?
>
>

-- 
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/d5574242-bfa6-4d42-a74c-18cab55b296a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread satyam mishra
just try 'python manage.py projectname/ ' and run the project

On Thu, Oct 18, 2018 at 8:05 PM Nelson Varela 
wrote:

>
> did you install django...
>
> --
> 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/359e2b8a-fc18-4c22-870a-27713f73768c%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/CACMqkY%2B5AnAu1qgoMpzvuiqXo0r8p_PrdpbA9qiE_%3DqPKvAgJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
Yeah..
When I tried running import django in idle it is not showing any error

On Thu 18 Oct, 2018, 8:05 PM Nelson Varela, 
wrote:

>
> did you install django...
>
> --
> 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/359e2b8a-fc18-4c22-870a-27713f73768c%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/CAMT57gg7C3nLMr5o-KHn5QtSWCQ7O3hZxDsBSM4gN0VBmurZ2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Nelson Varela

did you install django... 

-- 
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/359e2b8a-fc18-4c22-870a-27713f73768c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2018-10-18 Thread fatoubinetou196


Le mercredi 17 octobre 2018 21:21:54 UTC, fatoubi...@gmail.com a écrit :
>
> Hi! I wanted to know if you could frame me on how to design my application 
> of visualizations of the statutes of a payments by the owner with Django. 
> Because it's my first time and I do not quite understand how to list this 
> project in 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/685f2173-396b-4130-8d1d-1f2ecec7fcb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
Django.core*


On Thu 18 Oct, 2018, 3:28 PM Pradeep Singh,  wrote:

> bro first select a file where your project have stored.
>
> On Thu, 18 Oct 2018 at 15:23, Shubham Bajaj 
> wrote:
>
>> I and getting error no module found django.cargo.
>> I tried for three hours but unable to start my first project pls help me..
>>
>> On Thu 18 Oct, 2018, 3:19 PM Dilip Krishna, <
>> dilipkrishna.adap...@gmail.com> wrote:
>>
>>> You might have created a virtual environment for django and got out of
>>> it.check for it??
>>>
>>> --
>>> 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/c5f1cb03-3d6c-41b5-9d9f-f32dbd3f14d1%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/CAMT57gj%3DdtiGsah4d_zJZ2XYkVO3UKGOUFJ6x_dGZs0KQ96_%3Dg%40mail.gmail.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/CANwgZcbYv6UkOY-vTLv%3DeGB2AyZ%2Bdz8mrEUSocg%2BQWdxDF94cw%40mail.gmail.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/CAMT57gg%3DoJ7T-%2BrFwr5hgeVM0nQg2YJVHZy5WF3-rxzp9EXDpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
No module named django.core how to solve this issue

On Thu 18 Oct, 2018, 4:05 PM Shubham Bajaj, 
wrote:

> When I tried to run "admin.py start project mysite" in cmd  it shows
> module django.cargo not found
>
> On Thu 18 Oct, 2018, 3:28 PM Pradeep Singh,  wrote:
>
>> bro first select a file where your project have stored.
>>
>> On Thu, 18 Oct 2018 at 15:23, Shubham Bajaj 
>> wrote:
>>
>>> I and getting error no module found django.cargo.
>>> I tried for three hours but unable to start my first project pls help
>>> me..
>>>
>>> On Thu 18 Oct, 2018, 3:19 PM Dilip Krishna, <
>>> dilipkrishna.adap...@gmail.com> wrote:
>>>
 You might have created a virtual environment for django and got out of
 it.check for it??

 --
 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/c5f1cb03-3d6c-41b5-9d9f-f32dbd3f14d1%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/CAMT57gj%3DdtiGsah4d_zJZ2XYkVO3UKGOUFJ6x_dGZs0KQ96_%3Dg%40mail.gmail.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/CANwgZcbYv6UkOY-vTLv%3DeGB2AyZ%2Bdz8mrEUSocg%2BQWdxDF94cw%40mail.gmail.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/CAMT57ggOFhk577DxozHqMYpU2NyLdD%3DHVtzu61Tr1Z7CzQOwgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
When I tried to run "admin.py start project mysite" in cmd  it shows module
django.cargo not found

On Thu 18 Oct, 2018, 3:28 PM Pradeep Singh,  wrote:

> bro first select a file where your project have stored.
>
> On Thu, 18 Oct 2018 at 15:23, Shubham Bajaj 
> wrote:
>
>> I and getting error no module found django.cargo.
>> I tried for three hours but unable to start my first project pls help me..
>>
>> On Thu 18 Oct, 2018, 3:19 PM Dilip Krishna, <
>> dilipkrishna.adap...@gmail.com> wrote:
>>
>>> You might have created a virtual environment for django and got out of
>>> it.check for it??
>>>
>>> --
>>> 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/c5f1cb03-3d6c-41b5-9d9f-f32dbd3f14d1%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/CAMT57gj%3DdtiGsah4d_zJZ2XYkVO3UKGOUFJ6x_dGZs0KQ96_%3Dg%40mail.gmail.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/CANwgZcbYv6UkOY-vTLv%3DeGB2AyZ%2Bdz8mrEUSocg%2BQWdxDF94cw%40mail.gmail.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/CAMT57giS1TTJao_jYAE%2BDvyZ38%2B3TeOqNZTDLZkmq3w28sj4bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Pradeep Singh
bro first select a file where your project have stored.

On Thu, 18 Oct 2018 at 15:23, Shubham Bajaj 
wrote:

> I and getting error no module found django.cargo.
> I tried for three hours but unable to start my first project pls help me..
>
> On Thu 18 Oct, 2018, 3:19 PM Dilip Krishna, <
> dilipkrishna.adap...@gmail.com> wrote:
>
>> You might have created a virtual environment for django and got out of
>> it.check for it??
>>
>> --
>> 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/c5f1cb03-3d6c-41b5-9d9f-f32dbd3f14d1%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/CAMT57gj%3DdtiGsah4d_zJZ2XYkVO3UKGOUFJ6x_dGZs0KQ96_%3Dg%40mail.gmail.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/CANwgZcbYv6UkOY-vTLv%3DeGB2AyZ%2Bdz8mrEUSocg%2BQWdxDF94cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-10-18 Thread Shubham Bajaj
I and getting error no module found django.cargo.
I tried for three hours but unable to start my first project pls help me..

On Thu 18 Oct, 2018, 3:19 PM Dilip Krishna, 
wrote:

> You might have created a virtual environment for django and got out of
> it.check for it??
>
> --
> 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/c5f1cb03-3d6c-41b5-9d9f-f32dbd3f14d1%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/CAMT57gj%3DdtiGsah4d_zJZ2XYkVO3UKGOUFJ6x_dGZs0KQ96_%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-09-15 Thread Jayram Rawat
Thanks 4 the advice.. i will follow as you mentioned..

On Sat, Sep 15, 2018, 6:37 PM Shahil Hussain  wrote:

> Django is cool technology through which you make a web app(or you can say
> website) in which the backend(the database, all the information) and
> frontend (the website that you see from your device, the designed pages)
> are connected together.
>
> I am also a slightly experienced beginner. ; ) Django is amazing but you
> have to do practice learning it.
>
>
> I will recommend Django girls tutorial website to learn Django ( it is
> really easy)
>
> On Sat, Sep 15, 2018, 5:28 PM Jayram Rawat  wrote:
>
>> hello everyone , i am new to django can any one tell me that how to use
>> django and whats the main purpose of it. thank you
>>
>> --
>> 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/d76a9509-64ef-49be-abc1-225a5f73dfdc%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/CALJixFwRBkHF%2BXpvxy3eJ%3D4m7P_2gu-0TDpciq9VhSnScJ-0aQ%40mail.gmail.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/CAMoLkiEED60_goeDF%3DmBDHLCRVM0bfjA_Wt76_yv2q2_9jv9fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-09-15 Thread Shahil Hussain
Django is cool technology through which you make a web app(or you can say
website) in which the backend(the database, all the information) and
frontend (the website that you see from your device, the designed pages)
are connected together.

I am also a slightly experienced beginner. ; ) Django is amazing but you
have to do practice learning it.


I will recommend Django girls tutorial website to learn Django ( it is
really easy)

On Sat, Sep 15, 2018, 5:28 PM Jayram Rawat  wrote:

> hello everyone , i am new to django can any one tell me that how to use
> django and whats the main purpose of it. thank you
>
> --
> 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/d76a9509-64ef-49be-abc1-225a5f73dfdc%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/CALJixFwRBkHF%2BXpvxy3eJ%3D4m7P_2gu-0TDpciq9VhSnScJ-0aQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-29 Thread sankar ardhas
Hi all,
Thanks for your response.

On Wed, Aug 29, 2018, 9:08 PM Jani Tiainen  wrote:

> Hi,
>
> Django Girls do have excellent tutorial which also does have very detailed
> setup guide.
>
>
> ke 29. elok. 2018 klo 14.16 sankar ardhas 
> kirjoitti:
>
>> Hi all,
>>  I am a web developer in laravel and codeigniter php web
>> frameworks. I want to learn how to build web application  with django
>> framework. I have ubuntu platform in my comuputer. I want installation
>> steps for django and example also .. Can you help me?
>>
>> --
>> 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/18094a65-7e19-4f8d-8376-69174ee4c4cb%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/CAHn91of30tRAxzZvnvDCL1u5PE9MLAaLXiV24eXnYvqjNZUDsA%40mail.gmail.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/CAAzT%2Bs6Xi5f5PNoEPsJUqL1wpUWqwe%3DW9mz-K5Gw4ZnvYJAN2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-29 Thread Jani Tiainen
Hi,

Django Girls do have excellent tutorial which also does have very detailed
setup guide.


ke 29. elok. 2018 klo 14.16 sankar ardhas 
kirjoitti:

> Hi all,
>  I am a web developer in laravel and codeigniter php web
> frameworks. I want to learn how to build web application  with django
> framework. I have ubuntu platform in my comuputer. I want installation
> steps for django and example also .. Can you help me?
>
> --
> 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/18094a65-7e19-4f8d-8376-69174ee4c4cb%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/CAHn91of30tRAxzZvnvDCL1u5PE9MLAaLXiV24eXnYvqjNZUDsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-29 Thread tamangsiddharth12
Please make sure you install latest django. I have also started working on 
django and used the django 2.0.2 version.  To install this you will need 
pip3 which is from python3. You can use django 2 versions.

On Wednesday, August 29, 2018 at 4:46:15 PM UTC+5:30, sankar ardhas wrote:
>
> Hi all,
>  I am a web developer in laravel and codeigniter php web 
> frameworks. I want to learn how to build web application  with django 
> framework. I have ubuntu platform in my comuputer. I want installation 
> steps for django and example also .. Can you help me?
>

-- 
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/8e997707-26f8-4fb2-9aec-641a289c75fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-29 Thread Joel Mathew
There are two steps:
Install pip,
Use pip to install django

Follow the tutorial: https://docs.djangoproject.com/en/2.1/intro/install/

On Wed, 29 Aug 2018 at 16:46, sankar ardhas  wrote:
>
> Hi all,
>  I am a web developer in laravel and codeigniter php web frameworks. 
> I want to learn how to build web application  with django framework. I have 
> ubuntu platform in my comuputer. I want installation steps for django and 
> example also .. Can you help me?
>
> --
> 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/18094a65-7e19-4f8d-8376-69174ee4c4cb%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/CAA%3Diw_-FGJGPxcEgQjoVvFpRVqAi1aJgun%3DJqw0bKr0b7cKw4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-28 Thread Manmeet Singh
Also check out this
https://tutorial.djangogirls.org/en/django_start_project/

On Tue, Aug 28, 2018 at 5:11 PM Manmeet Singh <97singh.manm...@gmail.com>
wrote:

> Check out this tutorial:
>
> https://www.digitalocean.com/community/tutorials/how-to-create-a-django-app-and-connect-it-to-a-database
>
>
> On Tue, Aug 28, 2018 at 5:05 PM nonofo kokotetso <
> nonofokokote...@gmail.com> wrote:
>
>> how do i deploy/run django projects after installing django and python
>>
>> --
>> 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/3830c5d5-b063-4af3-9371-9ac8a54744dc%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/CAPG7oKOD1xcxsMdGeDr1qA%3D44Oh6TV0TPE_uMc_6TC7nQwYEUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2018-08-28 Thread Manmeet Singh
Check out this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-create-a-django-app-and-connect-it-to-a-database


On Tue, Aug 28, 2018 at 5:05 PM nonofo kokotetso 
wrote:

> how do i deploy/run django projects after installing django and python
>
> --
> 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/3830c5d5-b063-4af3-9371-9ac8a54744dc%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/CAPG7oKNhTwBKWj6sYQfODW8Zm0%3DnrqXUDMzwYQdZp--Qv4NsLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django, Tutiorial01 not working,

2018-03-29 Thread Marcin Bacławski
u probably run http://localhost:8000/  ,u should  
run http://localhost:8000/polls

-- 
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/794119ab-da2d-4288-96db-12160ab97360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django, Tutiorial01 not working,

2018-03-29 Thread prince gosavi
You need to use the following url *http://localhost:8000/polls/* as you 
have mentioned that you want to go under the "polls/" django parses through 
the urls to find "/polls/"
and if it does not exists it will surely give an error as you are 
requesting things that it does not have.

On Friday, March 30, 2018 at 12:21:03 AM UTC+5:30, Bryan Zimmer wrote:
>
> Hello all,
>
> I managed to get Django and mod_wsgi installed OK. I then followed through 
> with tutorial01, but even though I tried it twice, on two different 
> machines, I have come up blank.
>
> This is the output I am getting for the first cut of Tutorial 01.
>
> I am using Django 2.0.3 with python3.6 and mod_wsgi. 4.6.3:
>
> Page not found (404) 
> Request Method: GET 
> Request URL: http://localhost:8000/ 
>
> Using the URLconf defined in pollapp.urls, Django tried these URL 
> patterns, in this order: 
>
>1. polls/ 
>2. admin/ 
>
> The empty path didn't match any of these. 
>
> You're seeing this error because you have DEBUG = True in your Django 
> settings file. Change that to False, and Django will display a standard 
> 404 page. 
>
>
> Here is my pollap.urls:
>
>
> --
>
> $ cat urls.py
>
>
> """pollapp URL Configuration
>
> The `urlpatterns` list routes URLs to views. For more information please 
> see:
> https://docs.djangoproject.com/en/2.0/topics/http/urls/
> Examples:
> Function views
> 1. Add an import:  from my_app import views
> 2. Add a URL to urlpatterns:  path('', views.home, name='home')
> Class-based views
> 1. Add an import:  from other_app.views import Home
> 2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
> Including another URLconf
> 1. Import the include() function: from django.urls import include, path
> 2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
> """
> from django.contrib import admin
> from django.urls import include, path
>
> urlpatterns = [
> path('polls/',include('polls.urls')),
> path('admin/', admin.site.urls),
> ]
>
> ---
> The other relevant files, which I edited myself, following along with 
> Tutorial01 are included as attachments.
>
>
> I have scoped and squinted, and it still looks to me as though I didn't 
> make any mistakes in editing the source code. 
>
> If I missed something, I'll be embarrassed, but I think I followed the 
> instructions entirely the way they were written.
>
>
>

-- 
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/d6f29157-6ca2-47cc-bef0-9f007f436bff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to django

2017-07-20 Thread dkushwah5
Thanx Stefano :) 

On Wednesday, July 19, 2017 at 7:19:08 PM UTC+5:30, Stefano Probst wrote:
>
> Hi!
>
> New to Django? Read the Getting started 
> .
>
> Am Mittwoch, 19. Juli 2017 13:04:50 UTC+2 schrieb dkushwah5:
>>
>> I want to connect my bootstrap website with django's database. Please 
>> tell me how to do it.
>>
>

-- 
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/50aa7f23-851b-4554-b014-ec812c7d1d1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to django

2017-07-19 Thread Stefano Probst
Hi!

New to Django? Read the Getting started 
.

Am Mittwoch, 19. Juli 2017 13:04:50 UTC+2 schrieb dkushwah5:
>
> I want to connect my bootstrap website with django's database. Please tell 
> me how to do it.
>

-- 
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/639bb6be-c112-42da-a5c5-f6831ac31770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2017-06-12 Thread yingi keme
I recommend you buy the book 'django unleashed'. It is highly recommended for 
beginners. Some sites will help you, but not nearly as close to the book 
'Django Unleashed'

And hope you are proficient in python programming language? If not, i suggest 
you learn python first before diving into django

Yingi Kem

> On 12 Jun 2017, at 4:49 AM, jlew921  wrote:
> 
> hi guys new to django...and directions pls???
> -- 
> 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/70091a5d-6cc8-4ee8-9784-8ec762ec0c1a%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/E68C8451-D9E9-49BA-8AB7-24623940EA6B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2017-06-12 Thread Jani Tiainen

Hi,

And welcome to Django.

Also more verbose tutorial can be found from Django Girls [1]


[1] https://tutorial.djangogirls.org/en/


On 12.06.2017 14:12, Matthias Müller wrote:

The tutorial in the documentation is a good start.

cheers
Matthias


2017-06-12 5:49 GMT+02:00 jlew921 >:


hi guys new to django...and directions pls???
-- 
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/70091a5d-6cc8-4ee8-9784-8ec762ec0c1a%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/CAA2xsHSGGYZ%2BErFA_s7C5Ly3H9RVbSmG3cGLDwthP4pS3PrpRQ%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
Jani Tiainen

--
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/496eccb4-17c3-1d0f-8856-41679b45f61a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2017-06-12 Thread Oladipupo Elegbede
Take the Django tutorial on the official Django website.

Take the Django tutorial on the Django girls website.

Do something with what you've learnt.

Come back with questions..

Welcome to Django.

On Jun 12, 2017 6:05 AM, "jlew921"  wrote:

> hi guys new to django...and directions pls???
>
> --
> 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/70091a5d-6cc8-4ee8-9784-8ec762ec0c1a%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/CAHjgLX5DZU5C2Y3izbEgmoFiVDMqt%2BKgQ845sfmYF5Eda3cBrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to django

2017-06-12 Thread Matthias Müller
The tutorial in the documentation is a good start.

cheers
Matthias


2017-06-12 5:49 GMT+02:00 jlew921 :

> hi guys new to django...and directions pls???
>
> --
> 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/70091a5d-6cc8-4ee8-9784-8ec762ec0c1a%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/CAA2xsHSGGYZ%2BErFA_s7C5Ly3H9RVbSmG3cGLDwthP4pS3PrpRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to django and ORM. So a basic question about data inserts

2017-04-11 Thread Camilo Torres
Hi,
Lets suppose we simplify your problem and we have these 2 django models:
from django.db import models


class Person(models.Model):
name = models.CharField(max_length=255, null=False, blank=False)

def __str__(self):
return self.name


class Residence(models.Model):
address = models.CharField(max_length=255, null=False, blank=False)
person = models.ForeignKey('Person', null=False, blank=False)

def __str__(self):
return '%s: %s' % (self.person.name, self.address)

Notice I simplified the data so save in each model.

This is how you create data for these models. I ran these command in the 
django shell (python manage.py shell):
In [1]: from residence.models import Person, Residence
In [3]: p = Person.objects.create(name='Abu UIfreoledo')
In [4]: p
Out[4]: 
In [6]: r1 = Residence.objects.create(address='yyy', person=p)
In [7]: r2 = Residence.objects.create(address='', person=p)

This is another way of creating and saving models:
In [8]: other_person = Person()
In [9]: other_person.name = 'Jekolaw Yhjosw'
In [10]: other_person.save()
In [11]: res1 = Residence()
In [12]: res1.address = 'keikdioekekdiekecnchdhwe'
In [13]: res1.person = other_person
In [14]: res1.save()

Notice this generates these 2 tables in Postgres:
temp2=# \d residence_person
 Table "public.residence_person"
 Column |  Type  |   
Modifiers   
++---
 id | integer| not null default 
nextval('residence_person_id_seq'::regclass)
 name   | character varying(255) | not null
Indexes:
"residence_person_pkey" PRIMARY KEY, btree (id)
Referenced by:
TABLE "residence_residence" CONSTRAINT 
"residence_residence_person_id_d4f422a8_fk_residence_person_id" FOREIGN KEY 
(person_id) REFERENCES residence_person(id) DEFERRABLE INITIALLY DEFERRED

temp2=# \d residence_residence
  Table "public.residence_residence"
  Column   |  Type  |
Modifiers 
---++--
 id| integer| not null default 
nextval('residence_residence_id_seq'::regclass)
 address   | character varying(255) | not null
 person_id | integer| not null
Indexes:
"residence_residence_pkey" PRIMARY KEY, btree (id)
"residence_residence_person_id_d4f422a8" btree (person_id)
Foreign-key constraints:
"residence_residence_person_id_d4f422a8_fk_residence_person_id" FOREIGN 
KEY (person_id) REFERENCES residence_person(id) DEFERRABLE INITIALLY 
DEFERRED

In this example the Residence instances are not reused or shared across 
Persons.


Now suppose one want to reuse the residences, meaning we will use 3 tables 
instead of 2, One for Persona, as before, one for Residence (without the 
foreign key to the Person) and a third relation to relate both and hold the 
dates.

from django.db import models


class Person(models.Model):
name = models.CharField(max_length=255, null=False, blank=False)
residences = models.ManyToManyField('Residence', 
through='ResidenceDates')

def __str__(self):
return self.name


class Residence(models.Model):
address = models.CharField(max_length=255, null=False, blank=False)

def __str__(self):
return self.address


class ResidenceDates(models.Model):
dates = models.CharField(max_length=255, null=False, blank=False)
person = models.ForeignKey('Person', null=False, blank=False)
residence = models.ForeignKey('Residence', null=False, blank=False)

Notice the join table ResidenceDates, it has foreign keys to both Person 
and Residence models. Also notices the many to many field. This generates 
the 3 tables you need (not shown here).

In [3]: p1 = Person.objects.create(name='p1')
In [4]: p2 = Person.objects.create(name='p2')
In [5]: p3 = Person.objects.create(name='p3')
In [6]: res1 = Residence.objects.create(address='a1')
In [7]: res2 = Residence.objects.create(address='a2')
In [8]: res3 = Residence.objects.create(address='a3')
In [9]: res4 = Residence.objects.create(address='a4')
In [10]: res5 = Residence.objects.create(address='a5')
In [11]: ResidenceDates.objects.create(person=p1, residence=res1, 
dates='2003-2005')
Out[11]: 
In [12]: ResidenceDates.objects.create(person=p1, residence=res2, 
dates='2005-2008')
Out[12]: 
In [13]: ResidenceDates.objects.create(person=p1, residence=res4, 
dates='2009-2017')
Out[13]: 
In [15]: ResidenceDates.objects.create(person=p2, residence=res4, 
dates='2000-2001')
Out[15]: 
In [16]: ResidenceDates.objects.create(person=p2, residence=res5, 
dates='2002-2010')
Out[16]: 
In [17]: ResidenceDates.objects.create(person=p2, residence=res4, 
dates='2011-2016')
Out[17]: 

Hope this help.
Please read the django 

Re: New to django and ORM. So a basic question about data inserts

2017-04-10 Thread Lachlan Musicman
--
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 11 April 2017 at 05:35, Cassium  wrote:

> Say I am collecting residence history and I allow the user to submit up to
> five previous addresses. I have a PEOPLE model and RESIDENCES model and
> anticipate a many-to-many relationship between. Back when I was working
> with Joomla I would have manages these models (well, tables) with a table
> in the middle called PEOPLE_RESIDENCES which would have also included the
> dates of that relationship. And I understand that I can do that with a
> model and the 'through' statement.
>
> But here is where I'm lost. When I get a form submitted from the user, how
> do I get all the correct rows written to the various tables. Assume for
> simplicity sake that I have a new person being submitted as follows
>
> PERSON
> --RESIDENCE 1, 2005-2008
> --RESIDENCE 2, 2008-2011
> --RESIDENCE 3, 2012-2016
>
> So I would need one new row on the PEOPLE table, three new rows on the
> PEOPLE_RESIDENCES table and up to three new rows on the RESIDENCES table.
> I'm lost on how the necessary rows are added to the PEOPLE_RESIDENCES
> table. Is there some sort of value returned from the create/insert
> statements or do I send the ORM a structured object which manages all of
> the INSERTS including the relatioinships? Or is there something else I have
> to do?
>
>
Have you read this part of the documentation? It describes exactly what you
need:

https://docs.djangoproject.com/en/1.11/topics/db/models/#extra-fields-on-many-to-many-relationships

With regard to "how do I get the correct record written to the right table"
you are putting the cart before the horse.

The whole idea of an ORM is to disappear that type of consideration
(despite it being exactly what *is* happening in the background).

In the example of the documentation, when you create a Group, it is "saved
to the correct table when you call the save() method (successfully)". When
you create a Person, it is also saved to the correct table when you call
the save() method.

When you create a Membership that links to both the Person and the Group,
it too is saved to the correct table when you call the save() method.

Cheers
L.

-- 
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/CAGBeqiPXxcm-OG8mD1PCo3%3Dx%2BmkUw1y5DthpQ-EOqAGios%3DQ8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-06 Thread chris rose
+1 ludovic

-- 
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/47841fde-c966-41fd-9223-698e4c8220ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-06 Thread chris rose
+1 ludovic

-- 
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/99d48d6e-1896-4493-94e5-fd18a2561550%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-06 Thread chris rose
+1 ludovic

-- 
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/44e18a1e-1aa0-4c8e-a85e-02d370d5536f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-06 Thread Shawn Milochik
Go here:

https://code.djangoproject.com/

You'll find instructions on how to contribute, and also the bug tracker,
where you can search for easy bugs to fix.

-- 
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/CAOzwKwHTfvOhRBv6WbNEUkiMxKijTdqFg-u-yDe_O0hc1-STyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-06 Thread 'Anoosha Masood Keen' via Django users
Hi I am new to Django and I don't know where to start or what to do for 
contribution?

On Sunday, March 5, 2017 at 10:58:09 PM UTC+5, jayant jain wrote:
>
> Hi all users,
> I am a new user of* Django*
> with a basic knowledge of * Python* language .Please recommend *me what 
> more to learn* to start contributing to Django and how to 
> *start contributing.Example if *i do need to know about networking, GUI 
> ,etc.
>
>

-- 
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/fec204cf-496d-4c9d-bd7d-3a20d49ad580%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new to Django

2017-03-05 Thread ludovic coues
If you haven't done so, you should do the django tutorial. It will
give you a good view of what is available to django user.

Then there is a few page in the documentation about contributing.
https://docs.djangoproject.com/en/dev/internals/contributing/

What you'll need to learn depend on what aspect of django you want to
contribute to. But networking and GUI shouldn't be needed beyond some
basic knowledge. Django is a framework for building the server side of
web application. It provide really few GUI components and the
networking stuff is delegated to real webserver like nginx.

2017-03-05 18:10 GMT+01:00 jayant jain :
> Hi all users,
> I am a new user of Django
> with a basic knowledge of  Python language .Please recommend me what more to
> learn to start contributing to Django and how to start contributing.
> Example if i do need to know about networking, GUI ,etc.
>
> --
> 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/c749c6ac-ceca-44f6-9457-d6b045fdf924%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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/CAEuG%2BTbE%3D8JFosij%2BN5Vr8njSNQ9GE5tT56nPv1FM119pWBa8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-20 Thread Wolf Painter
Hi Serge, I would love to speak to you about your app and how you use it. 
I'm new to django, so this has taken a bit to get used to but I really 
think it's the way to go for what I want to do with it. What's the best way 
to reach you?

On Saturday, August 20, 2016 at 11:29:02 AM UTC-7, Sergiy Khohlov wrote:
>
> I've created project for managing virtual machines via libvirt using 
> django few years ago. Also you can take a look at ganeti project. I'm ready 
> to answer any question related to django and cloud computing.
>
> Thanks, Serge
>
>
> -- 
>> 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...@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/d855fdde-6a52-48d9-9a87-02beadf59be7%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/af6e1382-91da-4a41-b68e-705884749d3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-20 Thread Wolf Painter
OMG THANK YOU!! This totally works! Thank you, Thank you, Thank you!

On Saturday, August 20, 2016 at 12:30:26 PM UTC-7, Andrew Beales wrote:
>
> This works for me:
>
> {% for server, images in child_list.items %}
> {{ server }}
> {% for image in images %}
>   {% for key,val in image.items %}
>   {{ key }}: {{ val }}
>   {% endfor %}
> {% endfor %}
> {% endfor %}
>
> In your template, 'image' is a list of dicts, so you need to loop over 
> that to get at them.
>
>
>
>

-- 
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/2a5dea43-e5f9-4da8-87b6-1b4d9f31289f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-20 Thread Andrew Beales
This works for me:

{% for server, images in child_list.items %}
{{ server }}
{% for image in images %}
  {% for key,val in image.items %}
  {{ key }}: {{ val }}
  {% endfor %}
{% endfor %}
{% endfor %}

In your template, 'image' is a list of dicts, so you need to loop over that 
to get at them.


On Tuesday, August 16, 2016 at 1:22:28 AM UTC+1, Wolf Painter wrote:
>
> Hey everyone, I didn't see any posts (or google search) that could 
> possibly answer my question, so I am here... I'm trying to create a way to 
> launch vm's on a Xen or VMWare server using a website. I have the python 
> file written on the Server and am currently creating a DJango app to manage 
> everything. I'm stuck in a big way. I  currently have models that track 
> servers, images and child images launched from the parent, but I can't 
> figure out how to display it properly in a template so i can update the 
> count (either add or subtract a number of VM's from a server). I'm new to 
> both Django and Python, so please excuse any ignorance here... Here are my 
> relevant models:
>
> class Image(models.Model):
> name = models.CharField(verbose_name='Image Name', max_length=50)
> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
> type = models.CharField(max_length=50)
>
> def __str__(self):
> return self.name
>
>
> class Server(models.Model):
> name = models.CharField(verbose_name='Server Name', max_length=50)
> ipAddress = models.CharField(max_length=15)
> maxCCU = models.IntegerField(default=0)
> images = models.ManyToManyField(Image, blank=True, 
> related_name='baseImage')
>
> def __str__(self):
> return self.ipAddress
>
> class Childimage(models.Model):
> name = models.CharField(verbose_name='Child Image Name', max_length=50)
> parent = models.ForeignKey(Image, related_name='base')
> server = models.ForeignKey(Server, related_name='server')
> inUse = models.BooleanField()
> rdpportnum = models.CharField(max_length=4)
>
> def __str__(self):
> return self.name
>
> What I'm trying to do is have a web page that displays the number of parent 
> images on a server by counting the child image. For example, I have a parent 
> image called win2k12_excel and there are 12 child images of the parent 
> win2k12_excel on the x.x.x.x server. I would like a web page that shows there 
> are 12 win2k12_excel images on that server that would allow me to add or 
> subtract the number on that server.
>
>
> I have created a view that does this and puts it into a multidimensional 
> dictionary, but I cannot figure out how to get that to render properly in a 
> template. Here is my view:
>
>
> def servers(request):
> serverlist = Server.objects.all()
> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>
> childimagelist = defaultdict(list)
> for server in serverlist:
> for image in imagelist:
> number = 
> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
> childimagelist[server].append({image: number})
> childimagelist.default_factory = None
> context = {
> "server_list": serverlist,
> "image_list": imagelist,
> "child_list": childimagelist
> }
> return render(request, "administration/servers.html", context)
>
> No matter what I have tried so far, I cannot get this dictionary to render in 
> a template. Is there a better way to do what I'm trying to do? Is there a 
> proper way to get the dictionary parsed in the template? Any help would be 
> appreciated. 
>
>
> Oh, and I have search Google for weeks and tried all the suggestions I found. 
> None of them worked. I can get the first part of the dictionary parsed, but 
> no further than that. Here is the template code (server works, but for image, 
> number in images.items, does not):
>
>
> {% for server, images in child_list.items %}
> {{ server }}
> {% for image, number in images.items %}
> {{ number }}
> {% endfor %}
> {% endfor %}
>
>
>
> Any help at all would be appreciated...
>
>
> Thanks,
>
> Wolf
>
>

-- 
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/f994cec1-9bb0-4bbb-a928-f75080169e64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-20 Thread Sergiy Khohlov
I've created project for managing virtual machines via libvirt using django
few years ago. Also you can take a look at ganeti project. I'm ready to
answer any question related to django and cloud computing.

Thanks, Serge

20 серп. 2016 20:23 "Wolf Painter"  пише:

> If you look at the code for the template, images is in there. I've tried
> all the ways I found to display my multidimensional dictionary, one of
> which is to loop through the first part, then the second. If you look at
> the code below, I'm looping through the first part of the dictionary, then
> the second by calling the value on child_list.items which is images. So
> far, nothing I've tried is working no matter how I loop through it in the
> template. I'm still stuck on this as nothing I have looked up has worked,
> but I am new to django, so there may be something I'm missing.:
>
> {% for server, images in child_list.items %}
> {{ server }}
> {% for image, number in images.items %}
> {{ number }}
> {% endfor %}
> {% endfor %}
>
>
> On Thursday, August 18, 2016 at 6:33:58 AM UTC-7, Derek wrote:
>>
>> In your view you have:
>>
>> context = {
>> "server_list": serverlist,
>> "image_list": imagelist,
>> "child_list": childimagelist
>> }
>>
>> So the variables being passed through to your template are named:
>> server_list, image_list, child_list.
>>
>> In your template you call this:
>>
>> for server, images in child_list.items
>>
>> Which is fine, but then you call this:
>>
>> for image, number in images.items
>>
>> But there is no variable called "images" I think it should be
>> "image_list:.
>>
>> HTH
>> Derek
>>
>>
>> On Tuesday, 16 August 2016 02:22:28 UTC+2, Wolf Painter wrote:
>>>
>>> Hey everyone, I didn't see any posts (or google search) that could
>>> possibly answer my question, so I am here... I'm trying to create a way to
>>> launch vm's on a Xen or VMWare server using a website. I have the python
>>> file written on the Server and am currently creating a DJango app to manage
>>> everything. I'm stuck in a big way. I  currently have models that track
>>> servers, images and child images launched from the parent, but I can't
>>> figure out how to display it properly in a template so i can update the
>>> count (either add or subtract a number of VM's from a server). I'm new to
>>> both Django and Python, so please excuse any ignorance here... Here are my
>>> relevant models:
>>>
>>> class Image(models.Model):
>>> name = models.CharField(verbose_name='Image Name', max_length=50)
>>> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
>>> type = models.CharField(max_length=50)
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>>
>>> class Server(models.Model):
>>> name = models.CharField(verbose_name='Server Name', max_length=50)
>>> ipAddress = models.CharField(max_length=15)
>>> maxCCU = models.IntegerField(default=0)
>>> images = models.ManyToManyField(Image, blank=True, 
>>> related_name='baseImage')
>>>
>>> def __str__(self):
>>> return self.ipAddress
>>>
>>> class Childimage(models.Model):
>>> name = models.CharField(verbose_name='Child Image Name', max_length=50)
>>> parent = models.ForeignKey(Image, related_name='base')
>>> server = models.ForeignKey(Server, related_name='server')
>>> inUse = models.BooleanField()
>>> rdpportnum = models.CharField(max_length=4)
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> What I'm trying to do is have a web page that displays the number of parent 
>>> images on a server by counting the child image. For example, I have a 
>>> parent image called win2k12_excel and there are 12 child images of the 
>>> parent win2k12_excel on the x.x.x.x server. I would like a web page that 
>>> shows there are 12 win2k12_excel images on that server that would allow me 
>>> to add or subtract the number on that server.
>>>
>>>
>>> I have created a view that does this and puts it into a multidimensional 
>>> dictionary, but I cannot figure out how to get that to render properly in a 
>>> template. Here is my view:
>>>
>>>
>>> def servers(request):
>>> serverlist = Server.objects.all()
>>> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>>>
>>> childimagelist = defaultdict(list)
>>> for server in serverlist:
>>> for image in imagelist:
>>> number = 
>>> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
>>> childimagelist[server].append({image: number})
>>> childimagelist.default_factory = None
>>> context = {
>>> "server_list": serverlist,
>>> "image_list": imagelist,
>>> "child_list": childimagelist
>>> }
>>> return render(request, "administration/servers.html", context)
>>>
>>> No matter what I have tried so far, I cannot get this dictionary to 

Re: New to Django

2016-08-20 Thread Wolf Painter
If you look at the code for the template, images is in there. I've tried 
all the ways I found to display my multidimensional dictionary, one of 
which is to loop through the first part, then the second. If you look at 
the code below, I'm looping through the first part of the dictionary, then 
the second by calling the value on child_list.items which is images. So 
far, nothing I've tried is working no matter how I loop through it in the 
template. I'm still stuck on this as nothing I have looked up has worked, 
but I am new to django, so there may be something I'm missing.:

{% for server, images in child_list.items %}
{{ server }}
{% for image, number in images.items %}
{{ number }}
{% endfor %}
{% endfor %}


On Thursday, August 18, 2016 at 6:33:58 AM UTC-7, Derek wrote:
>
> In your view you have:
>
> context = {
> "server_list": serverlist,
> "image_list": imagelist,
> "child_list": childimagelist
> }
> 
> So the variables being passed through to your template are named: 
> server_list, image_list, child_list.
>
> In your template you call this:
>
> for server, images in child_list.items
>  
> Which is fine, but then you call this:
>
> for image, number in images.items
>
> But there is no variable called "images" I think it should be 
> "image_list:.
>
> HTH
> Derek
>
>
> On Tuesday, 16 August 2016 02:22:28 UTC+2, Wolf Painter wrote:
>>
>> Hey everyone, I didn't see any posts (or google search) that could 
>> possibly answer my question, so I am here... I'm trying to create a way to 
>> launch vm's on a Xen or VMWare server using a website. I have the python 
>> file written on the Server and am currently creating a DJango app to manage 
>> everything. I'm stuck in a big way. I  currently have models that track 
>> servers, images and child images launched from the parent, but I can't 
>> figure out how to display it properly in a template so i can update the 
>> count (either add or subtract a number of VM's from a server). I'm new to 
>> both Django and Python, so please excuse any ignorance here... Here are my 
>> relevant models:
>>
>> class Image(models.Model):
>> name = models.CharField(verbose_name='Image Name', max_length=50)
>> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
>> type = models.CharField(max_length=50)
>>
>> def __str__(self):
>> return self.name
>>
>>
>> class Server(models.Model):
>> name = models.CharField(verbose_name='Server Name', max_length=50)
>> ipAddress = models.CharField(max_length=15)
>> maxCCU = models.IntegerField(default=0)
>> images = models.ManyToManyField(Image, blank=True, 
>> related_name='baseImage')
>>
>> def __str__(self):
>> return self.ipAddress
>>
>> class Childimage(models.Model):
>> name = models.CharField(verbose_name='Child Image Name', max_length=50)
>> parent = models.ForeignKey(Image, related_name='base')
>> server = models.ForeignKey(Server, related_name='server')
>> inUse = models.BooleanField()
>> rdpportnum = models.CharField(max_length=4)
>>
>> def __str__(self):
>> return self.name
>>
>> What I'm trying to do is have a web page that displays the number of parent 
>> images on a server by counting the child image. For example, I have a parent 
>> image called win2k12_excel and there are 12 child images of the parent 
>> win2k12_excel on the x.x.x.x server. I would like a web page that shows 
>> there are 12 win2k12_excel images on that server that would allow me to add 
>> or subtract the number on that server.
>>
>>
>> I have created a view that does this and puts it into a multidimensional 
>> dictionary, but I cannot figure out how to get that to render properly in a 
>> template. Here is my view:
>>
>>
>> def servers(request):
>> serverlist = Server.objects.all()
>> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>>
>> childimagelist = defaultdict(list)
>> for server in serverlist:
>> for image in imagelist:
>> number = 
>> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
>> childimagelist[server].append({image: number})
>> childimagelist.default_factory = None
>> context = {
>> "server_list": serverlist,
>> "image_list": imagelist,
>> "child_list": childimagelist
>> }
>> return render(request, "administration/servers.html", context)
>>
>> No matter what I have tried so far, I cannot get this dictionary to render 
>> in a template. Is there a better way to do what I'm trying to do? Is there a 
>> proper way to get the dictionary parsed in the template? Any help would be 
>> appreciated. 
>>
>>
>> Oh, and I have search Google for weeks and tried all the suggestions I 
>> found. None of them worked. I can get the first part of the dictionary 
>> parsed, but no further than that. Here is the template 

Re: New to Django

2016-08-18 Thread Derek
In your view you have:

context = {
"server_list": serverlist,
"image_list": imagelist,
"child_list": childimagelist
}

So the variables being passed through to your template are named: 
server_list, image_list, child_list.

In your template you call this:

for server, images in child_list.items
 
Which is fine, but then you call this:

for image, number in images.items

But there is no variable called "images" I think it should be 
"image_list:.

HTH
Derek


On Tuesday, 16 August 2016 02:22:28 UTC+2, Wolf Painter wrote:
>
> Hey everyone, I didn't see any posts (or google search) that could 
> possibly answer my question, so I am here... I'm trying to create a way to 
> launch vm's on a Xen or VMWare server using a website. I have the python 
> file written on the Server and am currently creating a DJango app to manage 
> everything. I'm stuck in a big way. I  currently have models that track 
> servers, images and child images launched from the parent, but I can't 
> figure out how to display it properly in a template so i can update the 
> count (either add or subtract a number of VM's from a server). I'm new to 
> both Django and Python, so please excuse any ignorance here... Here are my 
> relevant models:
>
> class Image(models.Model):
> name = models.CharField(verbose_name='Image Name', max_length=50)
> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
> type = models.CharField(max_length=50)
>
> def __str__(self):
> return self.name
>
>
> class Server(models.Model):
> name = models.CharField(verbose_name='Server Name', max_length=50)
> ipAddress = models.CharField(max_length=15)
> maxCCU = models.IntegerField(default=0)
> images = models.ManyToManyField(Image, blank=True, 
> related_name='baseImage')
>
> def __str__(self):
> return self.ipAddress
>
> class Childimage(models.Model):
> name = models.CharField(verbose_name='Child Image Name', max_length=50)
> parent = models.ForeignKey(Image, related_name='base')
> server = models.ForeignKey(Server, related_name='server')
> inUse = models.BooleanField()
> rdpportnum = models.CharField(max_length=4)
>
> def __str__(self):
> return self.name
>
> What I'm trying to do is have a web page that displays the number of parent 
> images on a server by counting the child image. For example, I have a parent 
> image called win2k12_excel and there are 12 child images of the parent 
> win2k12_excel on the x.x.x.x server. I would like a web page that shows there 
> are 12 win2k12_excel images on that server that would allow me to add or 
> subtract the number on that server.
>
>
> I have created a view that does this and puts it into a multidimensional 
> dictionary, but I cannot figure out how to get that to render properly in a 
> template. Here is my view:
>
>
> def servers(request):
> serverlist = Server.objects.all()
> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>
> childimagelist = defaultdict(list)
> for server in serverlist:
> for image in imagelist:
> number = 
> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
> childimagelist[server].append({image: number})
> childimagelist.default_factory = None
> context = {
> "server_list": serverlist,
> "image_list": imagelist,
> "child_list": childimagelist
> }
> return render(request, "administration/servers.html", context)
>
> No matter what I have tried so far, I cannot get this dictionary to render in 
> a template. Is there a better way to do what I'm trying to do? Is there a 
> proper way to get the dictionary parsed in the template? Any help would be 
> appreciated. 
>
>
> Oh, and I have search Google for weeks and tried all the suggestions I found. 
> None of them worked. I can get the first part of the dictionary parsed, but 
> no further than that. Here is the template code (server works, but for image, 
> number in images.items, does not):
>
>
> {% for server, images in child_list.items %}
> {{ server }}
> {% for image, number in images.items %}
> {{ number }}
> {% endfor %}
> {% endfor %}
>
>
>
> Any help at all would be appreciated...
>
>
> Thanks,
>
> Wolf
>
>

-- 
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/5050d618-f3a9-4f8b-ab99-520bd02e47d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-17 Thread Wolf Painter
Thank you, I will have to look into this. Django is a bit confusing to me 
as I'm just learning it, so I'm not as versed as I could be about all the 
options. What I'm trying to accomplish is a list of the copies of base 
images on each server, not sure if that makes sense. But here is an example:

win2k12_excel is a base image that can live on many servers, a copy of this 
image would be 0012_win2k12_excel which would live on only one server. I 
need to know how many copies of this base image live on each server and 
display that so I can either increase or decrease the count on each server. 
Does that make sense? I'm not sure if making ChildImage a subclass is what 
I want because the number of copies on each server can and will change 
frequently, as will the number 0012 in the earlier example. On top of the 
number of copies changing, images can and will be retired, so they will 
eventually be deleted and servers will change as they need updating. 

I will look into aggregate to see if it will work for what I'm trying to 
accomplish. Thank you!

On Tuesday, August 16, 2016 at 11:00:09 PM UTC-7, Andrew Beales wrote:
>
> Hi, you can use aggregation queries to count the child images connected to 
> each server:
>
>
> # views.py
>
> from django.db.models import Count
>
> def servers(request):
> servers = Server.objects.all()
> for server in servers:
> server.child_images = server.images.aggregate(total=Count('base'))
> return render(request, "administration/servers.html", {'servers': 
> servers})
>
> # template
>
> {% for server in servers %}
>
>   Server: {{ server }}
>
>No. images: {{ server.images.count }}
>No. child images: {{ server.child_images.total }}
>
> {% endfor %}
>
> https://docs.djangoproject.com/en/1.10/topics/db/aggregation/
>
> ('child_image' would be a more suitable related_name than 'base')
>  
> Also, if server--image is a ManytoMany relation and an image can have many 
> child images, the ForeignKey relation here between Childimage and Server 
> would currently seem redundant/inaccurate. 
>
> More broadly, if all child images are types of images, you could consider 
> making ChildImage a subclass of Image instead, ie. class ChildImage(Image): 
> which might help with querying, as then you could just count child images 
> with server.childimage_set.count(), (if you removed the current 
> related_name for Childimage.server).
>
>
> On Tuesday, August 16, 2016 at 1:22:28 AM UTC+1, Wolf Painter wrote:
>>
>> Hey everyone, I didn't see any posts (or google search) that could 
>> possibly answer my question, so I am here... I'm trying to create a way to 
>> launch vm's on a Xen or VMWare server using a website. I have the python 
>> file written on the Server and am currently creating a DJango app to manage 
>> everything. I'm stuck in a big way. I  currently have models that track 
>> servers, images and child images launched from the parent, but I can't 
>> figure out how to display it properly in a template so i can update the 
>> count (either add or subtract a number of VM's from a server). I'm new to 
>> both Django and Python, so please excuse any ignorance here... Here are my 
>> relevant models:
>>
>> class Image(models.Model):
>> name = models.CharField(verbose_name='Image Name', max_length=50)
>> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
>> type = models.CharField(max_length=50)
>>
>> def __str__(self):
>> return self.name
>>
>>
>> class Server(models.Model):
>> name = models.CharField(verbose_name='Server Name', max_length=50)
>> ipAddress = models.CharField(max_length=15)
>> maxCCU = models.IntegerField(default=0)
>> images = models.ManyToManyField(Image, blank=True, 
>> related_name='baseImage')
>>
>> def __str__(self):
>> return self.ipAddress
>>
>> class Childimage(models.Model):
>> name = models.CharField(verbose_name='Child Image Name', max_length=50)
>> parent = models.ForeignKey(Image, related_name='base')
>> server = models.ForeignKey(Server, related_name='server')
>> inUse = models.BooleanField()
>> rdpportnum = models.CharField(max_length=4)
>>
>> def __str__(self):
>> return self.name
>>
>> What I'm trying to do is have a web page that displays the number of parent 
>> images on a server by counting the child image. For example, I have a parent 
>> image called win2k12_excel and there are 12 child images of the parent 
>> win2k12_excel on the x.x.x.x server. I would like a web page that shows 
>> there are 12 win2k12_excel images on that server that would allow me to add 
>> or subtract the number on that server.
>>
>>
>> I have created a view that does this and puts it into a multidimensional 
>> dictionary, but I cannot figure out how to get that to render properly in a 
>> template. Here is my view:
>>
>>
>> def servers(request):
>> serverlist = Server.objects.all()
>> imagelist = 

Re: New to Django

2016-08-17 Thread 小柯
I think it's like answer 

??
Just create the dictionary like data = {'a': [ [1, 2] ], 'b': [ [3, 4] 
],'c':[ [5,6]] }
and then do get it from view

-- 
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/b7f2ec42-8c2a-4e4e-8118-f60de29c8823%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-17 Thread Andrew Beales
All this talk about "child images on servers" has probably set off an alarm 
somewhere.

On Wednesday, August 17, 2016 at 7:00:09 AM UTC+1, Andrew Beales wrote:
>
> Hi, you can use aggregation queries to count the child images connected to 
> each server:
>
>
> # views.py
>
> from django.db.models import Count
>
> def servers(request):
> servers = Server.objects.all()
> for server in servers:
> server.child_images = server.images.aggregate(total=Count('base'))
> return render(request, "administration/servers.html", {'servers': 
> servers})
>
> # template
>
> {% for server in servers %}
>
>   Server: {{ server }}
>
>No. images: {{ server.images.count }}
>No. child images: {{ server.child_images.total }}
>
> {% endfor %}
>
> https://docs.djangoproject.com/en/1.10/topics/db/aggregation/
>
> ('child_image' would be a more suitable related_name than 'base')
>  
> Also, if server--image is a ManytoMany relation and an image can have many 
> child images, the ForeignKey relation here between Childimage and Server 
> would currently seem redundant/inaccurate. 
>
> More broadly, if all child images are types of images, you could consider 
> making ChildImage a subclass of Image instead, ie. class ChildImage(Image): 
> which might help with querying, as then you could just count child images 
> with server.childimage_set.count(), (if you removed the current 
> related_name for Childimage.server).
>
>
> On Tuesday, August 16, 2016 at 1:22:28 AM UTC+1, Wolf Painter wrote:
>>
>> Hey everyone, I didn't see any posts (or google search) that could 
>> possibly answer my question, so I am here... I'm trying to create a way to 
>> launch vm's on a Xen or VMWare server using a website. I have the python 
>> file written on the Server and am currently creating a DJango app to manage 
>> everything. I'm stuck in a big way. I  currently have models that track 
>> servers, images and child images launched from the parent, but I can't 
>> figure out how to display it properly in a template so i can update the 
>> count (either add or subtract a number of VM's from a server). I'm new to 
>> both Django and Python, so please excuse any ignorance here... Here are my 
>> relevant models:
>>
>> class Image(models.Model):
>> name = models.CharField(verbose_name='Image Name', max_length=50)
>> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
>> type = models.CharField(max_length=50)
>>
>> def __str__(self):
>> return self.name
>>
>>
>> class Server(models.Model):
>> name = models.CharField(verbose_name='Server Name', max_length=50)
>> ipAddress = models.CharField(max_length=15)
>> maxCCU = models.IntegerField(default=0)
>> images = models.ManyToManyField(Image, blank=True, 
>> related_name='baseImage')
>>
>> def __str__(self):
>> return self.ipAddress
>>
>> class Childimage(models.Model):
>> name = models.CharField(verbose_name='Child Image Name', max_length=50)
>> parent = models.ForeignKey(Image, related_name='base')
>> server = models.ForeignKey(Server, related_name='server')
>> inUse = models.BooleanField()
>> rdpportnum = models.CharField(max_length=4)
>>
>> def __str__(self):
>> return self.name
>>
>> What I'm trying to do is have a web page that displays the number of parent 
>> images on a server by counting the child image. For example, I have a parent 
>> image called win2k12_excel and there are 12 child images of the parent 
>> win2k12_excel on the x.x.x.x server. I would like a web page that shows 
>> there are 12 win2k12_excel images on that server that would allow me to add 
>> or subtract the number on that server.
>>
>>
>> I have created a view that does this and puts it into a multidimensional 
>> dictionary, but I cannot figure out how to get that to render properly in a 
>> template. Here is my view:
>>
>>
>> def servers(request):
>> serverlist = Server.objects.all()
>> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>>
>> childimagelist = defaultdict(list)
>> for server in serverlist:
>> for image in imagelist:
>> number = 
>> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
>> childimagelist[server].append({image: number})
>> childimagelist.default_factory = None
>> context = {
>> "server_list": serverlist,
>> "image_list": imagelist,
>> "child_list": childimagelist
>> }
>> return render(request, "administration/servers.html", context)
>>
>> No matter what I have tried so far, I cannot get this dictionary to render 
>> in a template. Is there a better way to do what I'm trying to do? Is there a 
>> proper way to get the dictionary parsed in the template? Any help would be 
>> appreciated. 
>>
>>
>> Oh, and I have search Google for weeks and tried all the suggestions I 
>> found. None of them worked. I can get the first 

Re: New to Django

2016-08-17 Thread Andrew Beales
Hi, you can use aggregation queries to count the child images connected to 
each server:


# views.py

from django.db.models import Count

def servers(request):
servers = Server.objects.all()
for server in servers:
server.child_images = server.images.aggregate(total=Count('base'))
return render(request, "administration/servers.html", {'servers': 
servers})

# template

{% for server in servers %}

  Server: {{ server }}

   No. images: {{ server.images.count }}
   No. child images: {{ server.child_images.total }}

{% endfor %}

https://docs.djangoproject.com/en/1.10/topics/db/aggregation/

('child_image' would be a more suitable related_name than 'base')
 
Also, if server--image is a ManytoMany relation and an image can have many 
child images, the ForeignKey relation here between Childimage and Server 
would currently seem redundant/inaccurate. 

More broadly, if all child images are types of images, you could consider 
making ChildImage a subclass of Image instead, ie. class ChildImage(Image): 
which might help with querying, as then you could just count child images 
with server.childimage_set.count(), (if you removed the current 
related_name for Childimage.server).


On Tuesday, August 16, 2016 at 1:22:28 AM UTC+1, Wolf Painter wrote:
>
> Hey everyone, I didn't see any posts (or google search) that could 
> possibly answer my question, so I am here... I'm trying to create a way to 
> launch vm's on a Xen or VMWare server using a website. I have the python 
> file written on the Server and am currently creating a DJango app to manage 
> everything. I'm stuck in a big way. I  currently have models that track 
> servers, images and child images launched from the parent, but I can't 
> figure out how to display it properly in a template so i can update the 
> count (either add or subtract a number of VM's from a server). I'm new to 
> both Django and Python, so please excuse any ignorance here... Here are my 
> relevant models:
>
> class Image(models.Model):
> name = models.CharField(verbose_name='Image Name', max_length=50)
> labID = models.ManyToManyField(Lab, blank=True, related_name='labID')
> type = models.CharField(max_length=50)
>
> def __str__(self):
> return self.name
>
>
> class Server(models.Model):
> name = models.CharField(verbose_name='Server Name', max_length=50)
> ipAddress = models.CharField(max_length=15)
> maxCCU = models.IntegerField(default=0)
> images = models.ManyToManyField(Image, blank=True, 
> related_name='baseImage')
>
> def __str__(self):
> return self.ipAddress
>
> class Childimage(models.Model):
> name = models.CharField(verbose_name='Child Image Name', max_length=50)
> parent = models.ForeignKey(Image, related_name='base')
> server = models.ForeignKey(Server, related_name='server')
> inUse = models.BooleanField()
> rdpportnum = models.CharField(max_length=4)
>
> def __str__(self):
> return self.name
>
> What I'm trying to do is have a web page that displays the number of parent 
> images on a server by counting the child image. For example, I have a parent 
> image called win2k12_excel and there are 12 child images of the parent 
> win2k12_excel on the x.x.x.x server. I would like a web page that shows there 
> are 12 win2k12_excel images on that server that would allow me to add or 
> subtract the number on that server.
>
>
> I have created a view that does this and puts it into a multidimensional 
> dictionary, but I cannot figure out how to get that to render properly in a 
> template. Here is my view:
>
>
> def servers(request):
> serverlist = Server.objects.all()
> imagelist = Image.objects.filter(baseImage__in=serverlist).distinct()
>
> childimagelist = defaultdict(list)
> for server in serverlist:
> for image in imagelist:
> number = 
> Childimage.objects.filter(parent__name__contains=image).filter(server__ipAddress__contains=server).count()
> childimagelist[server].append({image: number})
> childimagelist.default_factory = None
> context = {
> "server_list": serverlist,
> "image_list": imagelist,
> "child_list": childimagelist
> }
> return render(request, "administration/servers.html", context)
>
> No matter what I have tried so far, I cannot get this dictionary to render in 
> a template. Is there a better way to do what I'm trying to do? Is there a 
> proper way to get the dictionary parsed in the template? Any help would be 
> appreciated. 
>
>
> Oh, and I have search Google for weeks and tried all the suggestions I found. 
> None of them worked. I can get the first part of the dictionary parsed, but 
> no further than that. Here is the template code (server works, but for image, 
> number in images.items, does not):
>
>
> {% for server, images in child_list.items %}
> {{ server }}
> {% for image, number in images.items %}
> {{ number }}
> {% endfor %}
> 

Re: New to Django

2016-08-16 Thread Luis Zárate
Hi,

Try to implement a custom tag that can print
Any dictionary in the form that you want.

https://docs.djangoproject.com/en/1.10/howto/custom-template-tags/




El martes, 16 de agosto de 2016, Wolf Painter 
escribió:
> Anyone have any ideas? I'm really stuck here...
>
> --
> 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/dee8a26d-adee-4567-84a0-fccd4de478be%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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/CAG%2B5VyNzeD5ux4bam80%2Bfrrq2xkBTuBihRzi2wp%2BBRvuGWFeYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django

2016-08-16 Thread Wolf Painter
Anyone have any ideas? I'm really stuck here...

-- 
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/dee8a26d-adee-4567-84a0-fccd4de478be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-05-01 Thread Cronos Cto
Ty Aeron I will check it out.

-- 
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/de5feb9e-8b7c-442e-abd0-a93b3d6ea611%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-30 Thread Aaron Poncé
Just a related/unrelated sidenote.. I'm also new to Django and I found an 
amazing tutorial series on youtube... Just wanted to share it with you: 

https://youtu.be/FNQxxpM1yOs?list=PLQVvvaa0QuDeA05ZouE4OzDYLHY-XH-Nd

It's a 12 part series and it really helped me get the ball rolling



On Tuesday, April 26, 2016 at 12:33:09 AM UTC-7, Cronos Cto wrote:
>
>
> Hello Django Lovers.
>
> So I started on Django as project of mine. Seems like a great first 
> framework to start on. At the moment I am stuck at this:
>
>
>
> 
> This was after what I encountered at the end of the Django oficial post 
> app tutorial.
>
> I tried several ways to solve it. The problem seems to lay in the url.py 
> file, but I can not seem to solve it.
>
>
> 
>
> Thank you to anyone that can help me solve it.
>
>

-- 
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/4706b1f9-0acb-48d0-b264-a54c252430dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-29 Thread Mie Rex
I just did another try with a different version of Django which is same 
version of Django used in the book I am reading.
It turns out where the project(mysite) saved has no effect on it.  I think 
it's how Django suppose to behave.
Perhaps you are not working with the same version of Django as the 
tutorial??

The sense of achievement is great once the view function starts to working 
and progress are being made.
I hope you could figure out your problem soon.
Cheers~

Mie Rex於 2016年4月27日星期三 UTC-7下午7時02分56秒寫道:
>
> I had a smiliar problem with another Django tutorial.
>>
>
> I was running Django with Anaconda environment and I took the advice from 
> "Two Scoop Django" to have all projects stored in one directory and all the 
> environment in another.  Therefore the project "mysite" was initialized and 
> put in a folder, which was parallel to the environment folder.
> I fixed all the problem by initializing the project inside the environment 
> used for Django.
>
> Took me 3 days to figure out what was the problem.
> Hope you could figure out how to fix that soon.
> Cheers
>

-- 
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/f0794dab-736d-43a3-8b93-2ac69178e7bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-28 Thread Cronos Cto
Nikhil Beniwal , I tried I get an error that says __init__() takes 1 
positional argument but 2 were given.

I don't understand, I must be doing something wrong since this was done 
with the help of the Django official tutorial.

-- 
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/02944027-22cf-41da-bf07-00b797dea84b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-27 Thread Mie Rex

>
> I had a smiliar problem with another Django tutorial.
>

I was running Django with Anaconda environment and I took the advice from 
"Two Scoop Django" to have all projects stored in one directory and all the 
environment in another.  Therefore the project "mysite" was initialized and 
put in a folder, which was parallel to the environment folder.
I fixed all the problem by initializing the project inside the environment 
used for Django.

Took me 3 days to figure out what was the problem.
Hope you could figure out how to fix that soon.
Cheers

-- 
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/21ed70ea-9cf1-4b66-84e9-9d519d69b467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-27 Thread Nikhil Beniwal
You can define it like :-

url(r'^$', 'apps_name.views.home', name='home'),


On Wednesday, April 27, 2016 at 6:28:38 AM UTC+5:30, Cronos Cto wrote:
>
> Could you give me an example or so Vijay Khemali?
>

-- 
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/a96c20ac-cb8f-4b0e-ab47-2431ae981970%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
Could you give me an example or so Vijay Khemali?

-- 
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/b39236d6-b018-48cd-b94a-1857ea1ec32a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Vijay Khemlani
You still haven't defined a rule to handle the root path, just admin and
sistema

On Tue, Apr 26, 2016 at 8:56 PM, Cronos Cto  wrote:

>
> 
> ´
>
>
> Doesnt seem to fix it still. I have no clue how to go further, totally new
> to django.
>
>
>
> --
> 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/64ae0a3f-7138-4a4b-8fbb-817192f55207%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/CALn3ei3hv%3DtvGEDqDd01krHaC2nhPLfRujjY5U0OcvNNzzqurg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto



´


Doesnt seem to fix it still. I have no clue how to go further, totally new 
to django.



-- 
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/64ae0a3f-7138-4a4b-8fbb-817192f55207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   >