Giter VIP home page Giter VIP logo

Comments (12)

divanov11 avatar divanov11 commented on August 22, 2024 4

On our last call I think we talked about making this many to many. This way if a tag exists another user can use it. Also makes it easier to assign tags to articles and discussion later down the road. Make sense?

from mumbleapi.

davidtolosa avatar davidtolosa commented on August 22, 2024 2

I agree with Dennis. You need a many to many relationship, is the same for Skills and Interests.

from mumbleapi.

PraveenMalethia avatar PraveenMalethia commented on August 22, 2024 2

for MVP we can start with predefined tags and then feature creating tags if don't exist!

from mumbleapi.

abhivemp avatar abhivemp commented on August 22, 2024 1

A base app isn't a bad idea if other apps are using this info. Though in this issue @divanov11 did say he wants to add it in the tags for now. Dennis, any pointers?

from mumbleapi.

abhivemp avatar abhivemp commented on August 22, 2024

The Tags can be their own model and it just has a name column (making this the primary key), since we want tags to be unique.

Skills can probably be designed the same way, with a skill name as the column.

Since a user can have many tags and skills, this would be a one-to-many relationship.

I am down to take this issue to work on. If this is okay, then I would love to discuss it before I proceed.

from mumbleapi.

abhivemp avatar abhivemp commented on August 22, 2024

Yes, that makes sense! So a many-to-many relationship in models? I assume we are doing this for the Skills model as well?

from mumbleapi.

abhivemp avatar abhivemp commented on August 22, 2024

Sounds good! I'll be assigning this issue to myself and will be working on this.

from mumbleapi.

itzomen avatar itzomen commented on August 22, 2024

Hi there, just wanted to mention something that might be significant.
The skills and tags will be used in several apps e.g user, article, discussion; So I think it would be nice if we define those models in the users' app or preferably in a base app which will contain all the models, utility functions, etc used across the mumble apps. I think the latter is a better approach for scalability.
Thanks

from mumbleapi.

davidtolosa avatar davidtolosa commented on August 22, 2024

Another doubt I have is how the skills and topics tags will be created. The users will can add new tags? Or there will be a predefined list of tags?
Cheers!

from mumbleapi.

itzomen avatar itzomen commented on August 22, 2024

Another doubt I have is how the skills and topics tags will be created. The users will can add new tags? Or there will be a predefined list of tags?
Cheers!

The user can create if that specific tag doesn't exist

from mumbleapi.

abhivemp avatar abhivemp commented on August 22, 2024

Another doubt I have is how the skills and topics tags will be created. The users will can add new tags? Or there will be a predefined list of tags?
Cheers!

I agree. Create tags if it doesn't exist. Probably a future feature.

from mumbleapi.

raushanrk5 avatar raushanrk5 commented on August 22, 2024

I think we should add one slug field column in both the model, which can also be used to filter the data. And if we could use django-taggit, I think it will also be good. And I am also in support of many to many relationship for both the table.

from mumbleapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.