from django.contrib import admin
from .models import (Election, VacantPosition, Candidature, Vote)

@admin.register(Election)
class ElectionAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}

    class Media:
        js = ('tinymce/tinymce.min.js', 'js/tinymce_4_config.js')

@admin.register(Candidature)
class CandidatureAdmin(admin.ModelAdmin):

    class Media:
        js = ('tinymce/tinymce.min.js', 'js/tinymce_4_config.js')

admin.site.register(VacantPosition)
admin.site.register(Vote)

@@ -93,16 +93,107 @@
  Vote)%0A%0A
+class VacantPositionInline(admin.StackedInline):%0A    model = VacantPosition%0A    extra = 0%0A%0A
 @admin.r
@@ -295,16 +295,54 @@
 itle',)%7D
+%0A    inlines = %5BVacantPositionInline,%5D
 %0A%0A    cl
@@ -500,32 +500,32 @@
    class Media:%0A
+
         js = ('t
@@ -578,67 +578,4 @@
 s')%0A
-%0Aadmin.site.register(VacantPosition)%0Aadmin.site.register(Vote)%0A

Move VacantPosition to Election as an inline. Remove Vote.