How to use the gridcal.forms.SimplifiedEventForm function in GridCal

To help you get started, weā€™ve selected a few GridCal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wikical / grical / gridcal / functions.py View on Github external
def getEventForm(user):
    """returns a simplied event form with or without the public field"""
    if user.is_authenticated():
        return SimplifiedEventForm()
    return SimplifiedEventFormAnonymous()

GridCal

GridCal is a Power Systems simulation program intended for professional use and research

LGPL-3.0
Latest version published 18 days ago

Package Health Score

78 / 100
Full package analysis

Similar packages