#17061: Factor out "get a module-level object from a dotted path" function --------------------------------------+------------------------------------ Reporter: carljm | Owner: claudep Type: Cleanup/optimization | Status: new Component: Core (Other) | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by carljm): Replying to [comment:4 claudep]: > My last doubt is about the name of the function. I've initially chosen `import_module_from_path`, but should we name it `import_object_from_path` or`import_attribute_from_path` as the imported name is not the module itself, but an attribute of the module (variable, function, class, ...)? How about just `import_from_path` or `import_by_path` - since we really don't know what type of thing we are importing. -- Ticket URL: <https://code.djangoproject.com/ticket/17061#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.