Python django.contrib.comments.get_model() Examples
The following are 2
code examples of django.contrib.comments.get_model().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
django.contrib.comments
, or try the search function
.
Example #1
Source File: compat.py From DCRM with GNU Affero General Public License v3.0 | 5 votes |
def get_django_model(app_label, model_name): return models.get_model(app_label, model_name)
Example #2
Source File: compat.py From DCRM with GNU Affero General Public License v3.0 | 5 votes |
def get_django_model(app_label, model_name): return apps.get_model(app_label, model_name)