how do i insert this:
from django.contrib.auth.models import User
class Bookmark(models.Model):
title = models.CharField(maxlength=200)
user = models.ForeignKey(User)
link = models.ForeignKey(Link)
into this?
from django.db import models
class Link(models.Model):
url = models.URLField(unique=Tr
I created database using the 'python manage.py sycdb'
then proceeded to 'python manage.py sql bookmarks'
and i receive this error:
Error: App with label bookmarks could not be found. Are you sure your
INSTALLED_APPS settings is correct?
I go to Settings py and the INSTALLED_APPS is
'django_book
2 matches
Mail list logo