On 24 déc, 15:01, Jeff FW <jeff...@gmail.com> wrote: > I think you've got a small typo in the code there, that might be > confusing to the OP--shouldn't the get_model() call have quotes around > "tag"? Like so: > model_class = get_model("test", "tag")
Nope. In the OP's code, 'tag' is a variable which contains the name of the model class. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---