django model imorting

54 views
Skip to first unread message

Midhun Sudhakar

unread,
Feb 23, 2015, 11:41:35 PM2/23/15
to django-d...@googlegroups.com

error importing  model from one app to  another app in django shows :
i have two models called app and data .





from django import forms
import re
from django.core.exceptions import ObjectDoesNotExist
from django.forms import ModelForm
from data.models import *   #error comes here


class SignupForm(ModelForm):
    class Meta:
        model=User



Aaron C. de Bruyn

unread,
Feb 23, 2015, 11:57:30 PM2/23/15
to django-d...@googlegroups.com
You might want to try the django-users mailing list (https://groups.google.com/forum/#!forum/django-users).  This list is for developers working on writing Django itself.

-A

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/b5dd6ee5-b447-4b6a-a1ae-69e932985b3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages