On Wednesday, December 4, 2013 5:27:39 AM UTC-8, Tom Evans wrote:
>
> On Wed, Dec 4, 2013 at 7:20 AM, Hussain Nagri
> >
> wrote:
> > Hello,
> > I am new to Django and trying to learn myself.
> > My question is that when we create models in model.py then after each
> class
> > we define a '__
On Wed, Dec 4, 2013 at 7:20 AM, Hussain Nagri wrote:
> Hello,
> I am new to Django and trying to learn myself.
> My question is that when we create models in model.py then after each class
> we define a '__unicode__'. Is it necessary that we define this method ? It
> gets called every time I try t
Hello,
I am new to Django and trying to learn myself.
My question is that when we create models in model.py then after each class
we define a '__unicode__'. Is it necessary that we define this method ? It
gets called every time I try to fetch any data from that model. what if I
don’t want it to
3 matches
Mail list logo