let suppose I have 2 models:
*class String(models.model):*
*string = models.textarea(null = True, blank = True)*
*user = models.ForeignKey(user, on_delete=models.CASCADE)*
*def __str__(self):*
*return self.string*
and
*class Song_Words_Count(models.model):*
*song = models
a, inspectdb,
and various sql*) and that will help clarify a solution path.
-Chip
On Oct 16, 10:10 am, Léon Dignòn wrote:
> I have a project. Within that project I have the app callerlist.
> Callerlist is a list of either inbound or outbound phone calls. To
> each phone call the following in
ne docs
on lazy querysets
e.g. http://docs.djangoproject.com/en/dev/topics/db/queries/#querysets-are-lazy
I became a big fan of laziness when I learned Haskell last year.
IMHO laziness is usually a good design consideration.
Of course this advice might not really apply to your problem - it's
just a sugges
I am fairly new to Django. I have a strong background in object
oriented design, but only a shallow familiarity with relational
database design. I am trying to develop my models and I have a sort
of general philosophical question about what the ORM is capable of,
and how it should be used.
So l
ideas on how to fix? many thnx... chip
AttributeError at /admin/
'AdminSite' object has no attribute 'urls'
Request Method: GET
Request URL:http://127.0.0.1:8000/admin/
Exception Type: AttributeError
Exception Value:
'AdminSite' object has no attribute 'urls
5 matches
Mail list logo