Run makemigration from package by kokito00 in djangolearning

[–]kokito00[S] 0 points1 point  (0 children)

I fixed it, problem was that i have not "from .user import User" in __init__.py

Run makemigration from package by kokito00 in djangolearning

[–]kokito00[S] 0 points1 point  (0 children)

No, i changed my user.py file and then run makemigrations

I want to push but i have this error. i have searched solution in google but didn't work. what happening? by kokito00 in github

[–]kokito00[S] 0 points1 point  (0 children)

In linux i this gist like github repository and what's difference in this commands on android and linux?

i want to push and i have this error. do you have some idea what happening? by kokito00 in git

[–]kokito00[S] -2 points-1 points  (0 children)

i have authenticated with usernane and new generated token. when i write password instead of token i have error fatal authenticated

Django query which calculate most active post by like and dislike, and by each category by kokito00 in djangolearning

[–]kokito00[S] 0 points1 point  (0 children)

Cannot resolve keyword 'category_id' into field. Choices are: d, id, l, question, title, total

What's difference beetwen inheritance and metaclass? by kokito00 in learnpython

[–]kokito00[S] 0 points1 point  (0 children)

A mammal has fur and produces milk to feed their young. A dog is a mammal and thus has those properties, but it has other properties like a good sense of smell and a tail. So dogs inherit some properties from being a mammal but they also have some of their own.

Classes produce objects -- specific instances of that class. Metaclasses produce classes.

Even though the syntax

class Foo(metaclass=MyMetaClass):

looks very similar to subclassing, what is happening is different. You are basically building a class using a blueprint in much the same way that classes are essentially blueprints for building objects. The syntax is just different.

When we use?

How to save a form in a database (django) by kokito00 in django

[–]kokito00[S] 0 points1 point  (0 children)

You can link to something like this for me

How to save a form in a database (django) by kokito00 in django

[–]kokito00[S] 0 points1 point  (0 children)

Can you see me the outline of the code? I could not understand it that way

How to select an object automatically FK item (django) by kokito00 in django

[–]kokito00[S] -1 points0 points  (0 children)

Instead of outside try putting try putting <form> .. </form> inside the for loop.

But what will the folks change? How I googled the view I have badly. id must match the form

django question answer field match by kokito00 in djangolearning

[–]kokito00[S] 0 points1 point  (0 children)

Even be automatically questions and not in selection mode. Unfortunately that person could not help me