I'm running 1.6.4 yes vmware is in my installed apps i used from . import vmware if I dont try to link my appurls to project urls and just use admin site all my stuff works correctly its just when i try to add vmare
project.urls from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from . import vmware urlpatterns = patterns('', # Examples: # url(r'^$', 'provisioning.views.home', name='home$ # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^customers/', include(vmware.urls)), ) app.urls from django.conf.urls import patterns, include, url from django.view.generic import ListView from vmware.models import Customer urlpatterns = patterns('', url(r'^customers/', ListView.as_$ queryset=Customer.obje$ template_name="VMS.htm$ ) settings.py INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'vmware', ) INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'vmware', ) directory structure provisioning is the project vmware is the app. drwxr-xr-x 4 root root 4096 May 5 20:12 . drwxr-xr-x 3 root root 4096 May 5 19:09 .. -rw-r--r-- 1 root root 255 May 5 19:09 manage.py drwxr-xr-x 2 root root 4096 May 6 11:15 provisioning drwxr-xr-x 3 root root 4096 May 6 11:15 vmware models.py from django.db import models # Create your models here. class Customer(models.Model): NAME = models.CharField(max_length=200) WEBSITE = models.CharField(max_length=200) PHONE = models.CharField(max_length=200) EMAIL = models.CharField(max_length=200) ADDRESS = models.CharField(max_length=200) VMIDS = models.CharField(max_length=200) def __unicode__(self): return self.NAME # return self.NAME class Vms(models.Model): VMID = models.CharField(max_length=200) VMNAME = models.CharField(max_length=200) VMSTATUS = models.CharField(max_length=200) CUSTOMERID = models.ForeignKey(Customer) class Vmspecs(models.Model): CPUS = models.CharField(max_length=200) CORES = models.CharField(max_length=200) MEMORY = models.CharField(max_length=200) HDSPACE = models.CharField(max_length=200) OS = models.CharField(max_length=200) UPTIME = models.CharField(max_length=200) VMID = models.ForeignKey(Vms) # choice_text = models.CharField(max_length=200) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a1c5481d-6eb8-418c-bb6d-b09aa7024c60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.