Thanks Tom.
Got the problem.Problem solved on creating new model.

On Thu, May 9, 2013 at 6:53 PM, Tom Evans <[email protected]> wrote:

> On Thu, May 9, 2013 at 12:47 PM, Amber Kulkarni
> <[email protected]> wrote:
> > I checked the table using python manage.py sql app_name
> > it shows the following
> >
> > create table "tp_app_server" (
> >      "id " integer not null primary key,
> >       "link"  varchar(200) not null unique
> >       "crawled_flag" varchar(1) not null
> > )
> > ;
> > COMMIT
> >
>
> That just shows the SQL Django would use to create the table, it says
> nothing about how the table is currently constructed.
>
> Use the .schema command in sqlite shell to see the current structure
> of the table. Does it have a unique key on link?
>
> Cheers
>
> Tom
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/LFzuzEo-g1o/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
AMBER KULKARNI

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to