On Thursday, February 9, 2017 at 9:16:48 PM UTC+8, Florian Schweikert wrote:
>
> On 09/02/17 14:01, Gerald Brown wrote: 
> > Because of this problem I am NOT able to proceed with my project so any 
> > and all help will be appreciated. 
>
> Maybe somebody could help you if you provide more information about what 
> you are doing. 
>
> Following information could give some starting points for investigating 
> the problem: 
> * What does you INSTALLED_APPS look like? 
>

Here is the INSTALLED_APPS: "INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    #'django.contrib.sites',
     'sumedrec',
]"
 

> * The code of your ModelAdmin wogether with where you trying to register 
> it. (including imports) 
>
Here is the admin.py: "from django.contrib import admin
from .models import Patient, Visits

# Register your models here.

mymodels = [ Patient, Visits]
admin.site.register(mymodels)"

 

> * Are your models working correctly? Did creating migrations and 
> applying them work? YES
>
> -- 
> regards, 
> Florian 
>

Is there anything else that I can provide to you to help solve this problem?

Thanks,
Gerald 

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a90bcdf3-a343-4cd9-abe6-21bc4387bcaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to