Re: Writing your first Django app, part 1 - Django 1.7 - # Make sure our __str__() addition worked.

2015-02-04 Thread Vijay Khemlani
Don't worry :) On Wed, Feb 4, 2015 at 7:00 PM, Gavin Patrick McCoy < gavin.mcc...@mail.dcu.ie> wrote: > Sorry about that. Thanks a million for your reply. > > On Wednesday, 4 February 2015 17:38:16 UTC, Vijay Khemlani wrote: >> >> The method is called "__str__" (note the double underscore at

Re: Writing your first Django app, part 1 - Django 1.7 - # Make sure our __str__() addition worked.

2015-02-04 Thread Gavin Patrick McCoy
Sorry about that. Thanks a million for your reply. On Wednesday, 4 February 2015 17:38:16 UTC, Vijay Khemlani wrote: > > The method is called "__str__" (note the double underscore at both ends) > > On Wed, Feb 4, 2015 at 2:29 PM, Gavin Patrick McCoy > wrote: > >> Hi, >>

Re: Writing your first Django app, part 1 - Django 1.7 - # Make sure our __str__() addition worked.

2015-02-04 Thread Vijay Khemlani
The method is called "__str__" (note the double underscore at both ends) On Wed, Feb 4, 2015 at 2:29 PM, Gavin Patrick McCoy < gavin.mcc...@mail.dcu.ie> wrote: > Hi, > > Just started learning Django today. I got down to the last grey box of > code on >

Writing your first Django app, part 1 - Django 1.7 - # Make sure our __str__() addition worked.

2015-02-04 Thread Gavin Patrick McCoy
Hi, Just started learning Django today. I got down to the last grey box of code on https://docs.djangoproject.com/en/1.7/intro/tutorial01/#writing-your-first-django-app-part-1 and when I checked to see of the __str__() addition to models.py worked, it didn't. I didn't get [], I got []. I

Can migrated apps depend on unmigrated apps?

2015-02-04 Thread Carsten Fuchs
Dear Django developers, can apps that use migrations depend on unmigrated apps? The documentation at explains how dependencies work, and explicitly mentions that unmigrated apps cannot depend on migrated apps. In turn

Re: Context processors, am I doing them right?

2015-02-04 Thread Scot Hacker
On Tuesday, February 3, 2015 at 4:56:09 PM UTC-8, Dean De Leo wrote: > > Hi, > I am new to Django and I am still going through the tutorial. I've tried > to set up a context processor for the following scenario, and I would like > to obtain some confirmation if this is a proper solution or I

Re: please advice me some good online tutorials for google map

2015-02-04 Thread JAI PRAKASH SINGH
thank you sir . On Wed, Feb 4, 2015 at 6:49 PM, Majo wrote: > Hey Jai, > > To add a Google Map to your website you don't need to do anything special > in your Django project. It's a plain HTML/JS task. > > Have a look at the Documentation, it'll help: >

how to put files in different dirs

2015-02-04 Thread 老张
hi . Guys i'm designing a django web site,which produce many files. if all these files are in ONE directory。i'm afraid that performance is a problem. even i can put many entries in stattic-dirs in setting.py.but it seems only one entry in stattic-dirs be used Can anyone tell me how i can put

Re: please advice me some good online tutorials for google map

2015-02-04 Thread Majo
Hey Jai, To add a Google Map to your website you don't need to do anything special in your Django project. It's a plain HTML/JS task. Have a look at the Documentation, it'll help: https://developers.google.com/maps/tutorials/fundamentals/adding-a-google-map Cheers On Wednesday, February 4,

please advice me some good online tutorials for google map

2015-02-04 Thread JAI PRAKASH SINGH
hello all i know its a silly question but please reply, i want to learn how to integrate google map on django project please advice me . thanking you jai -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Create User method for Custom Manager Django

2015-02-04 Thread Max Nathaniel Ho
Read it. Understand it now. Thanks! On Tuesday, February 3, 2015 at 10:12:08 PM UTC+8, Daniel Roseman wrote: > > > On Tuesday, 3 February 2015 06:19:47 UTC, Max Nathaniel Ho wrote: >> >> Hi all, >> >> I am following this tutorial ( >>