Comments (3)
EDIT: misleading, see below comment.
I believe the issue is that the template is trying to access elements of the tuple by doing .0
, which is not valid python.
>>> a = (1, 2)
>>> a.0
File "<stdin>", line 1
a.0
^^
SyntaxError: invalid syntax
>>> a[0]
1
>>>
from coldfront-nerc.
Well, I take that back. It looks like dot notation is a valid way to access tuples and dictionaries in Django templates.
https://docs.djangoproject.com/en/4.1/topics/templates/#variables
from coldfront-nerc.
Ah, the template and what ColdFront sends to the template has changed since the last time we pulled. So there is no project_dict. ubccr/coldfront@b6a051b
from coldfront-nerc.
Related Issues (16)
- Coldfront doesn't populate name of users with OIDC HOT 1
- mokey plugin doesn't know how to deal with a list in the groups claim HOT 2
- Emails on new project request
- Skip rebuilding image unless required
- Configure site name and help link HOT 1
- Switch urls to nerc-project org
- Integrate ColdFront with OpenID Connect HOT 1
- use gunicorn and wsgi to run server in container image
- To add our own email templates for Resource approval/denial/update
- Add to ColdFront secret for API credentials to acct-mgt on OCP Prod
- Test ColdFront integration with RegApp HOT 1
- Start using production ColdFront for OCP Prod HOT 2
- Create v0.1.1 release and update manifests to deploy that tag rather than main HOT 1
- Migrating projects and resource allocations between ColdFront instances HOT 1
- Integrate `coldfront-plugin-api` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coldfront-nerc.