Are there any javascript errors?

On Mon, Dec 21, 2015 at 9:31 AM, Wim Feijen <w...@go2people.nl> wrote:

> Hi people,
>
> On a fresh Mezzanine installation, the button for adding inlines does not
> appear in my installation.
>
> What happens is that I see four forms and no button to add more.
> More-over, the fourth form does not work but seems to be a pre-cursor which
> should have been added by javascript. Screenshots are enclosed. Any idea
> what could be going wrong?
>
> My models:
> books/models.py:
>
> from django.db import models
> class Author(models.Model):
>    name = models.CharField(max_length=100)
> class Book(models.Model):
>    author = models.ForeignKey(Author, on_delete=models.CASCADE)
>    title = models.CharField(max_length=100)
>
>
> books/admin.py:
>
> from django.contrib import admin
>
> from .models import Book, Author
>
> class BookInline(admin.TabularInline):
>     model = Book
>
> class AuthorAdmin(admin.ModelAdmin):
>     inlines = [
>         BookInline,
>     ]
>
> admin.site.register(Author, AuthorAdmin)
>
>
>
>
>
> (test)django@vps2048:~/projects/testmez$ pip freeze
> Django==1.8.7
> Mezzanine==4.0.1
> Pillow==3.0.0
> argparse==1.2.1
> beautifulsoup4==4.4.1
> bleach==1.4.2
> chardet==2.3.0
> distribute==0.6.24
> django-contrib-comments==1.6.2
> filebrowser-safe==0.4.0
> future==0.15.2
> grappelli-safe==0.4.1
> html5lib==1.0b8
> oauthlib==1.0.3
> pytz==2015.7
> requests==2.9.0
> requests-oauthlib==0.6.0
> six==1.10.0
> tzlocal==1.2
> wsgiref==0.1.2
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to