Forums

cannot import name forms

my view below :

from django.shortcuts import redirect
from mysite import models, forms

it points "from my site import models , forms " cannot import name forms' , have i any error ??

[edit by admin: formatting]

That doesn't look quite right -- normally you'd import models and forms from an app within your project, for example:

from mysite.myapp import models, forms

but my app is called mysite ........ so,what can i do ?

Can I take a look at your code? We can see it from our admin interface, but we always ask for permission first.