Re: Name Fields values

2022-02-10 Thread waqar khan
I can help the in the project but you can detail describe me ,
yah project dono kaam krte

On Tue, Feb 8, 2022 at 6:35 AM raj program  wrote:

> https://docs.djangoproject.com/en/4.0/ref/models/meta/
>
> On Tue, Feb 8, 2022, 03:54 Feroz Ahmed  wrote:
>
>> Hi Everyone.
>> my personal project for marksheet is going on.
>>
>> all codes in views are fine
>>
>> fields are:
>> Name
>> English marks
>> Science Marks
>> Computer Marks
>> Avg
>> Sum
>> Total
>>
>> i need help , when i bring all stored record into template.
>>
>> *I need name field as list (dropdown list / Select list )and all the name
>> values.*
>> i try in views and and template ,, i not success .
>>
>> request for support
>>
>> Thanks
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/694ef31e-a254-4a1f-821d-44de88662681n%40googlegroups.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADvjn5XpMjUSr27hMSApSjbdRsXvGgp4FaU4DVvnQHUJD22igg%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B08CAP4PO-K55G_QKwKLcv0quY5XOTNzvGA7QianmhZdO_rJg%40mail.gmail.com.


Choices as nav link

2022-02-10 Thread gregory adomako
I have a book model with choices
I want to display the choices in the nav bar where upon clicked, will 
display all the books in with that choice

Thanks!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aa26fb85-1d12-491a-a30c-cbd351d8b572n%40googlegroups.com.


Re: Django versus competitors survey

2022-02-10 Thread Michael Powell


On Wednesday, February 9, 2022 at 8:39:01 AM UTC-5 Derek wrote:

> Hi Michael
>
> I think you may be be comparing apples and oranges and this could be 
> because it seems you're more of a software user than a software builder.
>

"it seems you're more of a" ... BUZZ wrong answer. No. As I stated, I am 
coming at this from more of a pure soft dev perspective, with 30+ years of 
industry experience; not niche web, CMS spheres, per se... Rather, the 
questions here are more one of 'sizing up' if you will Django, Python, etc. 
That being established... 

Django is used to build web-based applications, primarily those with a 
> database backend.  One such type of application is a CMS (other types could 
> be an online store or an asset management system etc).  If all you need is 
> a CMS, and you're OK with Django/Python as the underlying technology, then 
> look to tools like https://www.django-cms.org/en/ or https://wagtail.org/ 
> - you can compare their features to a more widely-known one such as 
> WordPress.
>

One 'comparable feature' so to say with WP seems to be that the PHP runtime 
is also single process single threaded, as Python's is, the core tech 
fueling the Django experience. Is that an issue? Versus, say, 
multi-threaded more async counterparts, ASP.NET, .NET Framework, dotnet 
core, and so on?
 

> HTH.
>

Appreciate the response, thank you.
 

> On Tuesday, 8 February 2022 at 17:49:28 UTC+2 michae...@gmail.com wrote:
>
>> Hello,
>>
>> I am engaged in a web site development effort, and I think the core tech 
>> has got to be a CMS of some sort. I am coming from a 'pure' soft. dev. 
>> background, if you will, including 'web sites', API, etc, but re: Django, I 
>> am trying to gauge 'ecosystem' if you will and interested to hear from 
>> peers among the community thoughts, as compared/contrasted with competitors 
>> such as WordPress, Orchard Core, etc.
>>
>> Maturity of Django as compared/contrasted with competitors. For instance, 
>> I understand that possibly 'theming' is something that was only just 
>> introduced to Django in recent versions? 7, 8, 9, 10? Something like that. 
>> Only now? Seems like 'others' have been able to do that for some time now?
>>
>> Marketshare concerns. How much of a market share, adoption level is there 
>> with Django versus others?
>>
>> Technical questions primarily stemming from the nature of the Python 
>> runtime, being that it is effectively single processor, single threaded. Is 
>> that ever a concern? Versus others who support asynchronous and so forth.
>>
>> From a workflow perspective, ability to support 'development' inner and 
>> outer loops, what to treat as 'source code', pushing updates to different 
>> servers, testing, staging, production, etc. Can any of that be captured to 
>> a git repository, for instance, or is it all a function of the backend 
>> database upon which Django, or its competitors, is built?
>>
>> Backend (or client side) integrations, because client side and/or backend 
>> integration is a possibility, support for calling into dotnet core, for 
>> instance, because it is 'what I know', or others, perhaps even C/C++ native 
>> backend processing, etc. Realizing some of that is probably a hosting 
>> issue, whether we are multi-tenant, dedicated server, etc.
>>
>> It's a work in process, so please forgive the throwing of mud on the 
>> wall. No formal decisions have been made yet, this is exploratory on my 
>> part at the moment.
>>
>> Thanks so much., best regards,
>>
>> Michael W. Powell
>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2e3fbb7d-bb44-4afd-b47a-d6e62c6a6353n%40googlegroups.com.


django template engine and bootstrap modals

2022-02-10 Thread Andrea Villani
Hi everyone!
I am developing an appweb and I'm stuck. My homepage is structured as a 
ListView, where each row shows every object's attributes using django 
template engine (ex: {{object.attribute}}. Last column shows a button to do 
an action through a bootstrap modal and if I put {{object .attribute}} it 
doesn't refered to the current object but to the first one which is 
displayed in the ListView. I have tried also using a bootstrap dropdown and 
the problem does not arise. Someone knows how to solve that?
Thank you in avdance!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/104d4f10-89c0-49eb-b267-44ff6a8af082n%40googlegroups.com.


Re: Django Resources

2022-02-10 Thread Gustavo Caetano
I would say to follow the Django docs, where it is really good 
documentation. Besides that, you can also take a look in some tutorials to 
start to build simple stuffs, for example this one: 
https://medium.com/swlh/build-your-first-rest-api-with-django-rest-framework-e394e39a482c
On Wednesday, February 9, 2022 at 4:37:08 PM UTC+1 lewisi...@gmail.com 
wrote:

> Hello guys.
> I have just completed a tutorial on python. I want to start learning 
> django now, can you recommended some great resources for me to use. 
>
> Thanks 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2fe65b2c-a1d6-40c2-bfbb-b4c997601ab3n%40googlegroups.com.


Re: Django Resources

2022-02-10 Thread Freenlace fullstack

Usa la documentración de Django. Muy buena ;)

https://www.djangoproject.com/
El miércoles, 9 de febrero de 2022 a las 10:37:08 UTC-5, 
lewisi...@gmail.com escribió:

> Hello guys.
> I have just completed a tutorial on python. I want to start learning 
> django now, can you recommended some great resources for me to use. 
>
> Thanks 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9dc2c00f-0aff-4163-a06e-138d41f35144n%40googlegroups.com.