I have a 'User' model holding some information like username password etc.
After installing swingtime I was hoping to correlate its 'Event' model with my 'User' model so I can add events for every individual user.
The thing is that in order to do that I need to have a ForeignKey in 'Events'. But that model comes from a package I installed so I am not sure how to proceed.
Any ideas?
greenleafone7
Recommended Answers
Jump to PostRTFM? What package? Where is the documentation for it? What is "ForeignKey" supposed to refer to? IE, until you produce your code, we can't help you very much. Also, we don't do your homework for you.
Jump to PostThe documentation appears to live here. I think you want something impossible. There is nothing about allowing a foreign key in an event (apart from the event type).
The only field allowing you …
All 8 Replies
rubberman 1,355
Nearly a Posting Virtuoso Featured Poster
greenleafone7
Gribouillis 1,391
Programming Explorer Team Colleague
greenleafone7
Gribouillis 1,391
Programming Explorer Team Colleague
greenleafone7
Gribouillis 1,391
Programming Explorer Team Colleague
greenleafone7
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.