Project: Fix partial references to apps

All apps references now need to be prepended with mayan.apps.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-12-05 02:19:36 -04:00
parent 59fbbd82e2
commit f9dfc00b30
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class Migration(migrations.Migration):
model_name='documentversionsignature',
name='document_version',
field=models.ForeignKey(
editable=False, to='mayan.apps.documents.DocumentVersion',
editable=False, to='documents.DocumentVersion',
verbose_name='Document version'
),
),
@@ -32,7 +32,7 @@ class Migration(migrations.Migration):
name='document_version',
field=models.ForeignKey(
related_name='signatures', editable=False,
to='mayan.apps.documents.DocumentVersion', verbose_name='Document version'
to='documents.DocumentVersion', verbose_name='Document version'
),
),
migrations.AlterField(

View File

@@ -48,7 +48,7 @@
{% include 'appearance/generic_multiform_subtemplate.html' %}
<script>
$.getScript( "{% url 'common:javascript_catalog' 'sources' %}" );
$.getScript( "{% url 'common:javascript_catalog' 'mayan.apps.sources' %}" );
</script>
<script type="text/x-template" id="previewTemplate">