Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where are the templates #7

Open
ghost opened this issue Jun 9, 2018 · 3 comments
Open

where are the templates #7

ghost opened this issue Jun 9, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 9, 2018

Hi I just did a fresh install of

pinax-account
and
pinax-submissions

When I got to http://localhost:8000/submissions/submit/ it says that all the templates are missing, which is kind of true.

Request Method:	GET
Request URL:	http://localhost:8000/submissions/submit/
Django Version:	1.11.5
Exception Type:	TemplateDoesNotExist
Exception Value:	
pinax/submissions/submission_submit.html, submissions/submissionkind_list.html
Exception Location:	/mnt/FILES/CODE/django/symposion/mysiteenv/local/lib/python2.7/site-packages/django/template/loader.py in select_template, line 53
Python Executable:	/mnt/FILES/CODE/django/symposion/mysiteenv/bin/python
Python Version:	2.7.12
Python Path:	
['/mnt/FILES/CODE/django/symposion/mab18',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/lib/python2.7',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/lib/python2.7/plat-x86_64-linux-gnu',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/lib/python2.7/lib-tk',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/lib/python2.7/lib-old',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/mnt/FILES/CODE/django/symposion/mysiteenv/local/lib/python2.7/site-packages']
Server time:	Sat, 9 Jun 2018 16:02:08 +0000
@KatherineMichel
Copy link
Member

Hi @jucajuca. We use npm to manage front-end dependencies now. Following the npm guidance might solve the problem. Pinax has also switched from bootstrap to semantic Pinax templates. The templates should be installed in the packages directory as part of the npm process if listed as a dependency. Also, before deployment you might need to run ./manage.py collectstatic https://github.com/pinax/pinax/blob/adding-npm-guidance/docs/quick_start.md

@ghost
Copy link
Author

ghost commented Jun 10, 2018

Hi @KatherineMichel
thanks for the info! Unfortunately, it appears that pinax-templates does not yet support pinax-submissions. I've tried to find some basic templates for submission to get oriented. Are they somewhere else?
thx

@KatherineMichel
Copy link
Member

@jucajuca Unfortunately, it looks like there are not any templates, or at least not made public. Sometimes it's possible to do a GitHub search for third-party sites that might have used a Pinax app, but I do not see any that use Pinax submissions. Eldarion has used pinax-submissions in client work, but not sure if any plan to open source additional templates such as these. You can see templates required by going through views. https://github.com/pinax/pinax-submissions/blob/master/pinax/submissions/views.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant