我在访问现有JFrame表单时遇到一些问题(顺便说一下,我在NetBeans中这样做):
# User Admin, with Profile attached
class ProfileInline(admin.StackedInline):
model = Profile
can_delete = False
verbose_name_plural = 'Profile' # As only one is displayed in this view
class UserAdmin(UserAdmin):
inlines = (
ProfileInline,
)
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
我不太确定我做错了什么,并且对于如何从当前JFrame(即FrameB)真正访问现有JFrame(此处为FrameA)感到有点困惑
非常感谢任何帮助!谢谢!