Re: Template not found error

2024-11-12 Thread ALINDA Fortunate
Have you configured the templates settings in your settings.py file. Such that Django knows where to locate all your templates from. +256774339676 "If you want to live a happy life, tie it to a goal, not to people or things." A graduate of Bachelors Degree of Science in Computer Science of Gulu

Re: Template not found error

2024-11-11 Thread Abdul Qoyyuum Haji Abdul Kadir
The errors are pretty clear here: *Template-loader postmortem* Django tried loading these templates, in this order: Using engine django: - django.template.loaders.filesystem.Loader: /storage/emulated/0/pro/templates/land/lands.htmI (Source does not exist) - django.template.loaders.app_di

Re: Template not found error

2024-11-11 Thread Walter Randazzo
Did you add the app to the settings.py lists of apps? El lun, 11 nov 2024 a las 14:20, Heman Okumbo () escribió: > Hello everyone, how comes the template lands.html is not working? while > the template -loader postmortem shows that it has searched the > directory/storage/emulated/0/pro/template

Re: template css issue

2023-06-07 Thread Sebastian Jung
Please view in outlook original html source code and compare Email your private Environment with production server. Then you should see difference Praveen Chaudhary schrieb am Mi., 7. Juni 2023, 08:38: > Hello Everyone, > > Hope you are doing well. I want a small favor from you guys. > Here I ha

Re: template css issue

2023-06-06 Thread DieHardMan 300
Did you collectstatic and config Nginx to serve the static folder? It's happen to me sometimes when I deploy project to server. ในวันที่ วันพุธที่ 7 มิถุนายน ค.ศ. 2023 เวลา 13 นาฬิกา 42 นาที 01 วินาที UTC+7 Praveen Chaudhary เขียนว่า: > This is the original template and it's working locally. >

Re: template css issue

2023-06-06 Thread Praveen Chaudhary
This is the original template and it's working locally. Thank you! Your E-mail has been received Prabin Chaudhary +977-9840193890 *https://www.linkedin.com/in/icedreamerpraveen/ * Software Engineer | Youth Innovation Lab On Wed, 7 Jun 2023 at 12:2

Re: Template doesn't run in browser

2023-06-03 Thread Safaet Jaman
Thank you Ryan Nowakowski. This now worked properly. On Saturday, June 3, 2023 at 5:17:47 AM UTC+6 Ryan Nowakowski wrote: > Maybe you need to add your projects app to settings.INSTALLED_APPS? > Here's an example of how to do that from the tutorial: > > https://docs.djangoproject.com/en/4.2/int

Re: Template doesn't run in browser

2023-06-02 Thread Muhammad Juwaini Abdul Rahman
Folder `projects` should be inside `templates`. Right now the folder is named 'templates/projects`. Please fix that first. On Friday, 2 June 2023 at 22:04:03 UTC+8 Safaet Jaman wrote: > > [image: Screenshot 2023-06-02 105157.png][image: Screenshot 2023-06-02 > 105348.png] -- You received this

Re: Template doesn't run in browser

2023-06-02 Thread 'Kasper Laudrup' via Django users
If you want someone to spend their time writing a proper answer, start by writing a proper question. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Re: Template inheritance not working

2022-11-19 Thread Chukwudi Onwusa
You can WhatsApp me on 08125409314, screenshot short your error page and send, together with with inherited template and your parent template. On Sat, Nov 19, 2022, 18:10 Alec Delaney <96alecpatr...@gmail.com> wrote: > Okay, Cause I am looking for another example for template inheritance > > > On

Re: Template inheritance not working

2022-11-19 Thread subin
I will continue learning more about . On Sat, Nov 19, 2022 at 5:53 PM Chukwudi Onwusa wrote: > On WhatsApp > > On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > >> Hello, would you be available for zoom? >> >> >> On Fri, Nov 18, 2022 at 10:04 PM Chukwudi Onwusa >> wrot

Re: Template inheritance not working

2022-11-19 Thread subin
Season’s greetings! Our offices will be closed on Dec. 24 and 25. However On Sat, Nov 19, 2022 at 5:53 PM Chukwudi Onwusa wrote: > On WhatsApp > > On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > >> Hello, would you be available for zoom? >> >> >> On Fri, Nov 18, 2022

Re: Template inheritance not working

2022-11-19 Thread subin
Hi On Sat, Nov 19, 2022 at 5:53 PM Chukwudi Onwusa wrote: > On WhatsApp > > On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > >> Hello, would you be available for zoom? >> >> >> On Fri, Nov 18, 2022 at 10:04 PM Chukwudi Onwusa >> wrote: >> >>> What error is it showing

Re: Template inheritance not working

2022-11-19 Thread Alec Delaney
you dont have zoom? On Sat, Nov 19, 2022 at 12:09 PM Alec Delaney <96alecpatr...@gmail.com> wrote: > Okay, Cause I am looking for another example for template inheritance > > > On Sat, Nov 19, 2022 at 11:54 AM Chukwudi Onwusa > wrote: > >> On WhatsApp >> >> On Sat, Nov 19, 2022, 17:14 Alec Dela

Re: Template inheritance not working

2022-11-19 Thread Alec Delaney
Okay, Cause I am looking for another example for template inheritance On Sat, Nov 19, 2022 at 11:54 AM Chukwudi Onwusa wrote: > On WhatsApp > > On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > >> Hello, would you be available for zoom? >> >> >> On Fri, Nov 18, 2022 at

Re: Template inheritance not working

2022-11-19 Thread Chukwudi Onwusa
On WhatsApp On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > Hello, would you be available for zoom? > > > On Fri, Nov 18, 2022 at 10:04 PM Chukwudi Onwusa > wrote: > >> What error is it showing you? >> Please send a picture of it. Remember you can save your base with

Re: Template inheritance not working

2022-11-19 Thread Alec Delaney
Hello, would you be available for zoom? On Fri, Nov 18, 2022 at 10:04 PM Chukwudi Onwusa wrote: > What error is it showing you? > Please send a picture of it. Remember you can save your base with your > desired name, but you should also not that you should register your > templates directory in

Re: Template inheritance not working

2022-11-18 Thread Chukwudi Onwusa
What error is it showing you? Please send a picture of it. Remember you can save your base with your desired name, but you should also not that you should register your templates directory in settings template list as [BASE_DIRS/ "templates"] and Incase your template files are in an embedded direct

Re: Template inheritance not working

2022-11-18 Thread David Emanuel Sandoval
The base template contains the default content, and blocks with default contents in it. Then, in the child template, you can override those blocks. El vie, 18 nov 2022 17:54, Alec Delaney <96alecpatr...@gmail.com> escribió: > Hello. How are you? Can I see another example of template inheritance?

Re: Template inheritance not working

2022-11-18 Thread Alec Delaney
Hello. How are you? Can I see another example of template inheritance? On Mon, Oct 31, 2022 at 2:34 PM Ammar Mohammed wrote: > Hello dear > There is a little mistake in your code : > You should put the {%block block_name %} in your base template with no > code and the put the code you want to be

Re: Template inheritance not working

2022-11-08 Thread Alec Delaney
Thank you! On Mon, Oct 31, 2022 at 2:34 PM Ammar Mohammed wrote: > Hello dear > There is a little mistake in your code : > You should put the {%block block_name %} in your base template with no > code and the put the code you want to be displayed in your child template > file > Here is an exampl

Re: Template inheritance not working

2022-11-02 Thread peteru mimo
Your template inheritance cannot be index.html make it base.html and put whatever you want to be display in all pages on it then extends it in index page and other page On Wed, Nov 2, 2022 at 10:26 AM FLAVIEN HERI wrote: > can it be the problem of the first block content which is empty.in > inde

Re: Template inheritance not working

2022-11-02 Thread FLAVIEN HERI
can it be the problem of the first block content which is empty.in index.html, try to delete the empty block content, leave the second one and see what happen On 10/31/22, Ammar Mohammed wrote: > Hello dear > There is a little mistake in your code : > You should put the {%block block_name %} in y

Re: Template inheritance not working

2022-10-31 Thread Ammar Mohammed
Hello dear There is a little mistake in your code : You should put the {%block block_name %} in your base template with no code and the put the code you want to be displayed in your child template file Here is an example : // file.html : {% extends "index.html" %} {% block content %} Hello, this

Re: template is not visible properliy

2021-02-28 Thread Kasper Laudrup
On 28/02/2021 12.53, Sky Lord wrote: Hello am new noob, anyone guide or take me as student? Start by learning how to create a new post instead of just doing random responses to unrelated threads. Assuming you're using Google groups, this should be a start: https://support.google.com/groups

Re: template is not visible properliy

2021-02-28 Thread Sky Lord
Hello am new noob, anyone guide or take me as student? On Sun, Feb 28, 2021, 6:02 AM Mr. X Offencer wrote: > Bro show me your file structure. > > On Sun, 28 Feb 2021, 02:56 Kasper Laudrup, wrote: > >> On 27/02/2021 12.19, Mayursinh Raulji wrote: >> >i have download template from google and

Re: template is not visible properliy

2021-02-27 Thread Mr. X Offencer
Bro show me your file structure. On Sun, 28 Feb 2021, 02:56 Kasper Laudrup, wrote: > On 27/02/2021 12.19, Mayursinh Raulji wrote: > >i have download template from google and try to load in Django with > > static file but in browser not show properly. show only half template > > but In my

Re: template is not visible properliy

2021-02-27 Thread Kasper Laudrup
On 27/02/2021 12.19, Mayursinh Raulji wrote:   i have download template from google and try to load in Django with static file but in browser not show properly. show only  half template but  In my  friend PC this template working properly so what is problem please tell me. A few options:

Re: Template code tries to join a string to a WSGIRequest

2021-01-10 Thread Luna Tuna
Fixed it. I checked my app's views.py and I had the template name arg reversed with the request when passed to render() shortcut. On Sunday, January 10, 2021 at 12:46:19 AM UTC-8 Luna Tuna wrote: > Not sure what to do here. Have you run into this sort of error before? > [image: TemplateEngineJ

Re: Template inheritance with dynamic content

2020-11-16 Thread Tristania W
Thanks, David, for answering the following-up question. I have figured out the problem. The "zip" object works with "include" as you have anticipated. The issue that I found is that, in my view, I am zipping the lists in a different function (called "*def **give_me_zip*"). This function returns

Re: Template inheritance with dynamic content

2020-11-14 Thread Tristania W
Hi, To follow up, when I tried the following: * {% include "child_template.html" with zip_list=zip_list%}* if the variable *zip_list* is a zip object, defined as following in the view, * zip_list= zip (list1, list2, list3)* the "*include*" does not work. But if I pass any other normal variable

Re: Template inheritance with dynamic content

2020-11-13 Thread David Nugent
You can achieve what you are looking for using the include directive. Just have your parent and child include the same block and use with… phrase to override variables within the included template. Regards, David On 20201

Re: Template rendering problem

2020-10-28 Thread Walter Randazzo
Hi Realdox, Please share the code also. The explanation of the problem isnt enough to help u. thanks, El mié., 28 oct. 2020 a las 20:15, Realdox Opeyemi (< realdox2yk47...@gmail.com>) escribió: > My template work fine with dummy data, but my data disappear when I try > render data from my m

Re: Template styles.

2020-10-19 Thread Ryan Nowakowski
On Sat, Oct 17, 2020 at 01:47:24AM -0700, Mohemed Misfar wrote: > Django has amazing model forms and django froms. In case if i use them, I > am unable to get the bootstrap and css styles. I can use raw html forms. > but, model forms and django forms are validated itself. in this case how > can

Re: Template styles.

2020-10-19 Thread Mohemed Misfar
ohhh. great. i will go through this. Thank you for your response. [image: Mailtrack] Sender notified by Mailtrack

Re: Template styles.

2020-10-18 Thread Derek
You can also consider using django-crispy-forms; they have a Bootstrap styling option: https://django-crispy-forms.readthedocs.io/en/latest/layouts.html#bootstrap-layout-objects and also: https://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs (for other styling options

Re: Template styles.

2020-10-17 Thread Mohemed Misfar
Oh. Thank you very much. I will try that. On Sat, 17 Oct 2020 21:53 Sameer Ahmed, wrote: > You can create separate template add bootstrap to it. Also add your form > to it. > If you want to know how to do it kindly visit > geeksforgeeks.org/django-forms/ > > On Sat, Oct 17, 2020, 9:19 PM Mohemed

Re: Template styles.

2020-10-17 Thread Sameer Ahmed
You can create separate template add bootstrap to it. Also add your form to it. If you want to know how to do it kindly visit geeksforgeeks.org/django-forms/ On Sat, Oct 17, 2020, 9:19 PM Mohemed Misfar wrote: > Django has amazing model forms and django froms. In case if i use them, I > am unabl

Re: template loading error

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks at fair prices. Reply or send email to divy...@pythonmate.com Best Regards, Divyesh Khamele, Pythonmate On Fri, 9 Oct 2020, 11:40 pm Kasper Laudrup, wrote: > On 09/10/2020 19.27, MC CREATIONS wrote

Re: template loading error

2020-10-09 Thread Kasper Laudrup
On 09/10/2020 19.27, MC CREATIONS wrote: i have problem that am creating a Django project with outside template .but now the problem is that template is not fully leading .only load partial template, here all the static file are correct but no picture and images are not display.how can i solve

Re: Template Variations title not showing

2020-05-24 Thread Ahmed Khairy
here is the link https://groups.google.com/forum/#!topic/django-users/5SckOumQLQM On Sunday, May 24, 2020 at 10:38:18 PM UTC-4, Ahmed Khairy wrote: > > Helloo, > > Check my views in this question link, it might be useful > > On Saturday, May 23, 2020 at 1:35:32 AM UTC-4, oldtimer wrote: >> >> I

Re: Template Variations title not showing

2020-05-24 Thread Ahmed Khairy
Helloo, Check my views in this question link, it might be useful On Saturday, May 23, 2020 at 1:35:32 AM UTC-4, oldtimer wrote: > > I cannot get variations or I tried model forms for options as well and > cannot get either to add to the cart. I can get both to display as options > on the produ

Re: Template Variations title not showing

2020-05-22 Thread oldtimer
I cannot get variations or I tried model forms for options as well and cannot get either to add to the cart. I can get both to display as options on the product page, but that is as far as I've made it. Need some help on how to get the views.py to get the options and post to cart. -- You recei

Re: Template Variations title not showing

2020-05-22 Thread Ahmed Khairy
Did you adjust your views to make the variations add to the cart ? On Thursday, May 21, 2020 at 10:04:15 PM UTC-4, oldtimer wrote: > > Hello, > > i was able to get the variant to show on the product page with using a > form. > > I cannot get the variants to display in the cart. > > Only differen

Re: Template Variations title not showing

2020-05-21 Thread oldtimer
Hello, i was able to get the variant to show on the product page with using a form. I cannot get the variants to display in the cart. Only difference is my Variation model is a ManyToManyField to the item. I have also changed my variant options to numbers as the dict was expecting an integer a

Re: Template linting

2019-09-28 Thread Jani Tiainen
Hi. It could be intetesting thing to play with for example pyparsing-library. But to my knoledge there is (not yet) such a linting tool. la 28. syysk. 2019 klo 17.00 Tobias Bengfort kirjoitti: > Hi, > > I was wondering whether there are any good options for linting HTML > templates. I have se

Re: Template Does Not Exist

2019-08-20 Thread Naty Mina
*Thank U* בתאריך יום שלישי, 20 באוגוסט 2019 בשעה 11:07:46 UTC+3, מאת Tosin Ayoola: > > D problem is either in ur settings.py file u didn't properly set ur > template dir correctly (which u can do as follows in ur settings.py In the > template setting section, set d value of ur DIR =[os.path.j

Re: Template Does Not Exist

2019-08-20 Thread Tosin Ayoola
D problem is either in ur settings.py file u didn't properly set ur template dir correctly (which u can do as follows in ur settings.py In the template setting section, set d value of ur DIR =[os.path.join(BASE_DIR, 'templates'] den create a templates folder either in ur app dir or project dir,

Re: Template Does Not Exist

2019-08-19 Thread natymm314
yes, I did so and it worked BTW I didn’t change any settings and it still worked. but is there no way to set django to look for not just in templates folders? but the directory I want? i’d like to know thank you From: Bhoopesh sisoudiya Sent: ‎Monday‎, ‎August‎ ‎19‎, ‎2019 ‎3‎:‎07‎ ‎P

Re: Template Does Not Exist

2019-08-19 Thread Bhoopesh sisoudiya
Hey Please put index.html file inside template folder and set "template" folder DIR in setting.py file. On Mon, Aug 19, 2019, 4:32 PM wrote: > no it did not work > > Sent from Windows Mail > > *From:* RONAK JAIN > *Sent:* ‎Monday‎, ‎August‎ ‎19‎, ‎2019 ‎1‎:‎59‎ ‎PM > *To:* django-users@go

Re: Template Does Not Exist

2019-08-19 Thread natymm314
no it did not work Sent from Windows Mail From: RONAK JAIN Sent: ‎Monday‎, ‎August‎ ‎19‎, ‎2019 ‎1‎:‎59‎ ‎PM To: django-users@googlegroups.com Hey can you remove learning_logs in views.py? please simply write inside view.py : return render(request, 'index.html') M

Re: Template Does Not Exist

2019-08-19 Thread RONAK JAIN
Hey can you remove learning_logs in views.py? please simply write inside view.py : *return render(request, 'index.html')* Maybe it will work for you. Thanks On Mon, Aug 19, 2019 at 4:17 PM Naty Mina wrote: > *,hi guys* > finally i could run my project but when i'm trying to open the hom

Re: Template programming

2019-07-14 Thread Aldian Fazrihady
You need to create a template filter: https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/ Or use existing template filter: https://docs.djangoproject.com/en/2.2/ref/templates/builtins/ Regards, Aldian Fazrihady http://aldianfazrihady.com On Mon, 15 Jul 2019, 00:49 Scyil sharma, w

Re: Template programming

2019-07-14 Thread Abishek Goda
space in URL translates to %20. Basically, you’ll need to encode the URL. Try this link for https://www.urlencoder.org quick encode/decode trials. I don’t understand the second part of replacing space character in HTML. Can you explain what you are trying to do? Abishek On 15 Jul 2019, 1:49 AM

RE: Template not showing my post details

2019-05-29 Thread a
Hi, I can help you. Let me know about your project. Sent from Mail for Windows 10 From: cixtus anyanwu Sent: Wednesday, May 29, 2019 5:41 PM To: Django users Subject: Re: Template not showing my post details Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019 at

Re: Template not showing my post details

2019-05-29 Thread Joe Reitman
What does your view look like? On Wednesday, May 29, 2019 at 4:26:55 AM UTC-5, cixtus anyanwu wrote: > > Help me out here. Whats wrong with django? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Template not showing my post details

2019-05-29 Thread Leydson Vieira
Can you show me your views.post_list? Em qua, 29 de mai de 2019 às 06:27, cixtus anyanwu escreveu: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop rec

Re: Template not showing my post details

2019-05-29 Thread cixtus anyanwu
Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019 at 10:32:42 AM UTC+1, 5pence wrote: > > Do you have any blogs posts in your model? > > On Wed, 29 May 2019 at 10:27, cixtus anyanwu > wrote: > >> Help me out here. Whats wrong with django? >> >> -- >> You received

Re: Template not showing my post details

2019-05-29 Thread 5pence
Do you have any blogs posts in your model? On Wed, 29 May 2019 at 10:27, cixtus anyanwu wrote: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receivi

Re: template not exist error snap in attechment

2019-01-14 Thread tribhuvan kishor
thanks shiva . thanks alot i think a lack of concentration On Sat, Jan 12, 2019 at 1:32 PM shiva kumar wrote: > It's not detail it's details.html > > On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> even list.html is in the same place and its accessible

Re: template not exist error snap in attechment

2019-01-12 Thread tribhuvan kishor
thanks, Shiva I think its matter of lack of concentration from my side thanks buddy, On Sat, Jan 12, 2019 at 1:32 PM shiva kumar wrote: > It's not detail it's details.html > > On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> even list.html is in the same

Re: template not exist error snap in attechment

2019-01-12 Thread shiva kumar
It's not detail it's details.html On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor even list.html is in the same place and its accessible . i am not getting > why showing problem with details.html > > > On Sat, Jan 12, 2019 at 12:40 PM tribhuvan kishor < > tribhuvankishor...@gmail.com> wrote: > >> "

Re: template not exist error snap in attechment

2019-01-11 Thread tribhuvan kishor
even list.html is in the same place and its accessible . i am not getting why showing problem with details.html On Sat, Jan 12, 2019 at 12:40 PM tribhuvan kishor < tribhuvankishor...@gmail.com> wrote: > """ > Django settings for mysite project. > > Generated by 'django-admin startproject' using

Re: template not exist error snap in attechment

2019-01-11 Thread tribhuvan kishor
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/setting

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
once post your setting.py file content . i will try to figure it out. On Sat, Jan 12, 2019 at 11:16 AM tribhuvan kishor < tribhuvankishor...@gmail.com> wrote: > this is my directory structure > > On Fri, Jan 11, 2019 at 9:19 PM Martin K wrote: > >> TEMplate DIrectory >>> PROJECT/APP/template/bl

Re: template not exist error snap in attechment

2019-01-11 Thread Martin K
> > TEMplate DIrectory > PROJECT/APP/template/blog/detail.html > > You see directly in the error that template should be located in PROJECT/APP/template/blog/*post*/detail.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
Can you put your project file structure. On Fri 11 Jan, 2019 5:46 pm NAveeN Kumar Reddy < knaveenkumarredd...@gmail.com wrote: > Check the link before pattern in path function > > On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> URL >> path('//',views.po

Re: template not exist error snap in attechment

2019-01-11 Thread NAveeN Kumar Reddy
Check the link before pattern in path function On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor URL > path('//',views.post_detail, name='post_detail'), > VIEW > > def post_detail(request, year, post): > post = get_object_or_404(Post, slug=post, > status='published'

Re: template location for django-registration framework

2018-12-31 Thread Yuval Bachrach
(the suggested url: I saw it before writing the message. It is outdated. Example: It uses "python manage.py syncdb" Besides: It instruct adding to INSTALLED_APPS : "'registration'": This yield errors: First reason: A comma is missing.. I also think, but not sure,that this line is not relevant a

Re: template location for django-registration framework

2018-12-30 Thread Yuval Bachrach
First: thank you! Yes I did search before asking I was trying to place the templates under my project tree (rather than under "Python37-32\Lib\site-packages\django\contrib\admin\templates\registration" and could not make it work. Per you advice I also tried putting the template file at the above me

Re: template location for django-registration framework

2018-12-29 Thread Zhe Li
Have you searched the internet before posting? https://stackoverflow.com/questions/6127264/troubleshooting-templatedoesnotexist-at-accounts-login-django-auth-setup You can either create your own pages or copy the whole templates under the django admin site -- site-packages/django/contrib/admin/

Re: template

2018-11-15 Thread Аккозов Медер
App name(example "blog")/templates/app name again ("blog")/html file чт, 15 нояб. 2018 г., 18:53 Scott Tresor scotttre...@gmail.com: > hello how to user template for django > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: template

2018-11-15 Thread Nelson Varela
This is just a guess... but I think no... I am really sure you can find it. here: https://docs.djangoproject.com/en/2.1/topics/templates/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: template

2018-11-15 Thread Joel Mathew
Huh? On Thu, 15 Nov 2018 at 18:23, Scott Tresor wrote: > hello how to user template for django > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to djan

Re: Template Issues

2018-10-21 Thread Siddharth Tamang
Are you getting any exception? Share with us the error that you are seeing On Mon, Oct 22, 2018 at 12:18 AM vineeth sagar wrote: > Do you mean bootstrap? STL doesn't care about that and it's not clear what > you mean. Can you share the code so that we can help you. > > On Oct 22, 2018 12:14 AM,

Re: Template Issues

2018-10-21 Thread vineeth sagar
Do you mean bootstrap? STL doesn't care about that and it's not clear what you mean. Can you share the code so that we can help you. On Oct 22, 2018 12:14 AM, "Dennis Alabi" wrote: > i am Building Django 2.0 Web Applications, template is not rendering with > boottrap3. > > -- > You received this

Re: template tag help please?

2018-08-26 Thread Tosin Ayoola
good day guys I'm working on a project but currently I'm having issues, which is I created a model to save some images files & I created a template to display the images but the issue now is for loop isn't displaying the files at the template On 8/23/18, Tosin Ayoola wrote: > this is the link htt

Re: template tag help please?

2018-08-23 Thread Tosin Ayoola
this is the link https://github.com/olaneat/ask_the_schools will rili b glad if u can help On Thu, Aug 23, 2018 at 2:31 PM Tosin Ayoola wrote: > i have the code on git actually because i'm trying to get the add a file > at the admin page but i'm getting the error > > > On Thu, Aug 23, 2018 at 2

Re: template tag help please?

2018-08-23 Thread Tosin Ayoola
i have the code on git actually because i'm trying to get the add a file at the admin page but i'm getting the error On Thu, Aug 23, 2018 at 2:17 PM ireoluwa fakeye wrote: > Sorry didn't look at it well ,can I see a screen shot of your code > > On Thu, 23 Aug 2018, 14:10 Tosin Ayoola, wrote: >

Re: template tag help please?

2018-08-23 Thread ireoluwa fakeye
Sorry didn't look at it well ,can I see a screen shot of your code On Thu, 23 Aug 2018, 14:10 Tosin Ayoola, wrote: > not properly routing my urls as in, i don't understand > > On Thu, Aug 23, 2018 at 2:06 PM ireoluwa fakeye wrote: > >> You Are not properly routing your urls >> >> On Thu, 23 Au

Re: template tag help please?

2018-08-23 Thread Tosin Ayoola
not properly routing my urls as in, i don't understand On Thu, Aug 23, 2018 at 2:06 PM ireoluwa fakeye wrote: > You Are not properly routing your urls > > On Thu, 23 Aug 2018, 14:03 Tosin Ayoola, wrote: > >> good day please i'm having issues, attached below is one of the error i'm >> getting a

Re: template tag help please?

2018-08-23 Thread ireoluwa fakeye
You Are not properly routing your urls On Thu, 23 Aug 2018, 14:03 Tosin Ayoola, wrote: > good day please i'm having issues, attached below is one of the error i'm > getting also ive been trying to add bootstrap glyphicon to my project but > it just display the text without the glyphicon, > > On

RE: template tag help please?

2018-08-23 Thread Mike Jones
. Thank you From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Andréas Kühne Sent: 23 August 2018 08:15 To: django-users@googlegroups.com Subject: Re: template tag help please? Yes - but you still are doing it strange - you shouldn't use kwargs if yo

Re: template tag help please?

2018-08-23 Thread Andréas Kühne
else: > > for x in val_set: > > val = x.short > > return val > > > > *From:* django-users@googlegroups.com [mailto: > django-users@googlegroups.com] *On Behalf Of *Andréas Kühne > *Sent:* 22 August 2018 15:20 > *To:* django-users@goo

Re: template tag help please?

2018-08-22 Thread Mikhailo Keda
Probably you don't need template tag at all, try {{ b.name }} if you just need to get name value from b -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-us

RE: template tag help please?

2018-08-22 Thread Mike Jones
val = x.full else: for x in val_set: val = x.short return val From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Andréas Kühne Sent: 22 August 2018 15:20 To: django-users@googlegroups.com Subject: Re: template tag help pl

Re: template tag help please?

2018-08-22 Thread Andréas Kühne
Wait a secound, you are doing some very strange things I didn't see this before. You have defined the following: @register.simple_tag def do_cost( name, avn, avd, *args, **kwargs ): avn = kwargs['avn'] avd = kwargs['avd'] name = kwargs['name'] return name The method has 3 par

Re: template tag help please?

2018-08-22 Thread MikeKJ
Thank you Andreas Kuhne, progress So this {% load get_cost %}{% do_cost b.name avn avd %} was working quite happily but for some reason is now complaining Exception Type: TemplateSyntaxError Exception Value: Caught KeyError while rendering: 'avn' Exception Location claims to bege

Re: template tag help please?

2018-08-22 Thread MikeKJ
Thank you Andreas Kuhne, progress So this {% load get_cost %}{% do_cost b.name avn avd %} is not getting any error on the template but as simple as the below is there is no return from django import template from django.conf import settings from django.utils.html import escape register = templa

Re: template tag help please?

2018-08-22 Thread Andréas Kühne
Hi, You don't need the {{}} when sending a variable to the template tag - try removing them. Regards, Andréas Den ons 22 aug. 2018 kl 12:17 skrev MikeKJ : > > I am so rusty I’m having trouble writing a simple_tag > > > > In the template > > > > {% for b in list %} > > {% load get_cost %}{% do

Re: template tag help please?

2018-08-22 Thread MikeKJ
I am so rusty I’m having trouble writing a simple_tag In the template {% for b in list %} {% load get_cost %}{% do_cost {{ b.name }} avn avd %} Also tried (per docs) {% do_cost name={{ b.name }} avn=avn avd=avd %} I definitely have values in the template passed from the view for avn

Re: template tag help please?

2018-08-17 Thread Mikhailo Keda
"Then in the template any number of arguments, separated by spaces, may be passed to the template tag." from the Documentation -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: template tag help please?

2018-08-17 Thread MikeKJ
Yes For example, in the filter {{ var|foo:"bar" }}, the filter foo would be passed the variable var and the argument "bar". I want to pass 2 (maybe 3) variables and correct me if I am wrong but Custom filters are just Python functions that take one or two arguments: So could do {

RE: template tag help please?

2018-08-17 Thread Mike Jones
17 August 2018 14:43 To: Django users Subject: Re: template tag help please? Check the documentation - https://docs.djangoproject.com/ko/2.1/howto/custom-template-tags/ -- You received this message because you are subscribed to a topic in the Google Groups "Django users" group.

Re: template tag help please?

2018-08-17 Thread Mikhailo Keda
Check the documentation - https://docs.djangoproject.com/ko/2.1/howto/custom-template-tags/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubsc

Re: template parse error

2018-02-22 Thread sum abiut
Thanks heaps Daniel, it was the spaces On Thu, Feb 22, 2018 at 10:57 PM, Daniel Roseman wrote: > On Thursday, 22 February 2018 06:16:32 UTC, suabiut wrote: >> >> Could not parse the remainder: '=="1"' from 'selected_value=="1"' >> >> >> i got the above error when passing the select value. I hav

Re: template parse error

2018-02-22 Thread Daniel Roseman
On Thursday, 22 February 2018 06:16:32 UTC, suabiut wrote: > > Could not parse the remainder: '=="1"' from 'selected_value=="1"' > > > i got the above error when passing the select value. I have no clue what > i am missing. please assist > {%if selected_value=="1"%} > > > > > Cheers, > You nee

Re: template parse error

2018-02-22 Thread Andy
Are you using the defautlt django template engine or something else? Looks correct, but please show the full template, because there might be errors before that point causing this error message. Am Donnerstag, 22. Februar 2018 07:16:32 UTC+1 schrieb suabiut: > > Could not parse the remainder: '==

Re: Template Namespace Error (django2)

2018-01-30 Thread Carl Brubaker
So I'm not exactly sure what happened. I made a second "locallibrary" program that worked and then compared all of my files, because after I tried to change my original one back to the way Mozilla lays it out, it still wouldn't work. When I repasted the catalog/views.py file contents, it worked

RE: Template Rendering Django 1.11

2017-08-16 Thread Matthew Pava
be able to modify it for our requirements, and it is no longer the same app. From: Tim Graham [mailto:timogra...@gmail.com] Sent: Monday, August 7, 2017 4:02 PM To: django-users@googlegroups.com Cc: Matthew Pava Subject: Re: Template Rendering Django 1.11 You'll have to profile and see w

  1   2   3   4   5   6   7   8   9   >