A. App Class Properties: "index", "icon", "package", "root_url"B. App Class Url Maps: both the "url" and "controller" pathsC. Other Paths to Functions in the App Class: for example the "initializer" parameter of PersistentStoresD. Use in import statements of all Python files of the app, including __init__.py files (e.g. from tethysapp.my_first_app.models import * )E. Paths to templates at the end of most controllers (e.g.: return render(request, 'my_first_app/home.html', context) )F. Calls to controllers using either the "url" template tag in templates (e.g.: {% url 'my_first_app:home' %} ) or the "reverse" Django function in controllers (e.g. reverse('my_first_app:home') )G. In "extends" template tags in the templates (e.g.: {% extends "my_first_app/base.html" %} )H. Places where the app URLs might be hard coded like JS or CSS files (e.g. var url = '/apps/my_first_app/do-something';).
I think there would be great interest in such a utility. However, what needs are motivating you wanting to do this? If it is to have multiple versions of an app in one portal, I have a few ideas for how we could change Tethys to allow for multiple installations of one app in a portal without renaming necessarily. But I haven't really formulated it. If that is your motivation, I think I'd prefer your effort put toward the latter option.
--
You received this message because you are subscribed to a topic in the Google Groups "Tethys Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tethysplatform/-cONj_2Olr8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/7efd9ed9-cada-422e-9a13-7b844b0155f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
+1
So I'm resurrecting this question because I'm having unexpected behavior as I'm trying to rename my app. I'm finding that even when I modify the contents of the app.py to match what I want, the original data I entered when I scaffolded my original app are what persist. I've tried uninstalling, reinstalling and redeveloping the app after making the changes I want to the app.py to no avail. Where else does the information from app.py get stored?To clarify, I'm simply trying to change the title of my app from "Wellhead Protection" to "TimML-Cloud". I do not need to change the file names, I only want to change the displayed title and the little text that appears when hovering over the info button on the apps page (the little description of the app). Any help would be great! Thanks
--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/8e248e4e-b607-446e-8303-c308608d6485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.