Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Michael Onuekwusi
Interested please, 8072094026 whatsapp On Fri, Mar 15, 2024, 8:49 PM Jorge Bueno wrote: > Good evening everyone, I need help in my personal project to create an > agricultural and livestock marketplace and an agricultural and livestock > social network as a whole.Longer explanation:Farmers and

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-02 Thread Michael Onuekwusi
I'll be interested..django developer here On Tue, Apr 2, 2024, 6:19 PM Abhishek J wrote: > Dear Developers, > > I need to build an android and IOS phone dialer similar to Truecaller. > > We are seeking experienced and dedicated candidates who are proficient in > Django and possess a keen

Re: E-comm live project

2024-03-26 Thread Michael Onuekwusi
8072094026 whatsapp On Mon, Mar 18, 2024, 6:26 PM 1001_prabhjot Singh wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend > interested one's can send there number for WhatsApp group > > -- >

Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-27 Thread Michael Onuekwusi
I'm interested On Sat, Feb 24, 2024, 8:48 PM wisdom samuel wrote: > I will like to join the group > > On Sun, Feb 18, 2024, 5:48 PM SURAJ TIWARI wrote: > >>  Join Our Django WhatsApp Bulk Messaging Project! >> >>  Hello everyone, >> >> Are you looking for an exciting opportunity to gain

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Michael Onuekwusi
I'm interested bro.. here's my number: +2348072094026 On Sun, Feb 11, 2024, 1:12 AM I- MirzaBaig wrote: > Im too up for collaborating > > Sent from Outlook for Android > -- > *From:* django-users@googlegroups.com on > behalf of Basith >

Re: Apply for django full stack developer

2023-06-06 Thread Michael Edet
On html, css and JavaScript On Tue, 6 Jun 2023, 17:04 Ganush K, wrote: > Hello Team, > > I am excited to submit my application for the Full Stack Developer > position with a specialization in sorting and sweering at optimhire. With > my strong technical skills and a deep understanding of

Re: Unable to write to database

2023-05-21 Thread Michael Edet
Did you install django??? And said you put py manage.py runserver On Sun, 21 May 2023, 18:55 William Nash (Bill), wrote: > I'm new to django and I'm trying to learn as I program a small website for > my scuba diving business. I'm running into a error that when I try to add > a diver the

Re: Navbar

2023-05-18 Thread Michael Edet
Yes On Thu, 18 May 2023, 13:38 tintu john sam, wrote: > you have add the css and js links to your main html file.. > > On Thu, May 18, 2023 at 11:44 AM Michael Edet wrote: > >> Please help >> >> On Sun, 14 May 2023, 18:17 Michael Edet, wrote: >> >>

Re: Navbar

2023-05-18 Thread Michael Edet
u, May 18, 2023 at 9:13 AM Michael Edet mailto:michxs...@gmail.com>> wrote: Please help On Sun, 14 May 2023, 18:17 Michael Edet, mailto:michxs...@gmail.com>> wrote: I have been having issues with my navbar and I'm using bootstrap The first one is what I want The second one is my out

Re: Navbar

2023-05-18 Thread Michael Edet
Please help On Sun, 14 May 2023, 18:17 Michael Edet, wrote: > I have been having issues with my navbar and I'm using bootstrap > > The first one is what I want > The second one is my outcome > The last file is my code > > Please I need response? > -- You received

Re: Difficulty Rendering a Form

2023-05-17 Thread Michael Starr
wa.me/249113075979 > > > > On Tue, May 16, 2023, 20:55 Michael Starr wrote: > >> I am having difficulty rendering a form. Does anyone have a CONCISE >> tutorial for me? >> >> Michael >> >> -- >> > You received this message because y

Difficulty Rendering a Form

2023-05-16 Thread Michael Starr
I am having difficulty rendering a form. Does anyone have a CONCISE tutorial for me? Michael -- 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 dj

Re: Masonry card columns

2023-05-14 Thread Michael Edet
ired outcome. > > If you are using bootstrap use grid instead of flexbox. Set width to w-50. > > i.e > > > > > > <-! Card here --> > > > > > > > > Best Regards, > > Albert Ashaba Aheebwa > +256 781 435857 > > On Sat, 13 May

Re: Masonry card columns

2023-05-13 Thread Michael Edet
> Making it compact will result in the desired outcome. > > If you are using bootstrap use grid instead of flexbox. Set width to w-50. > > i.e > > > > > > <-! Card here --> > > > > > > > > Best Regards, > > Albert Ashaba Aheebwa >

Re: PDF generation with xhtml2Pdf in Django

2023-05-11 Thread Michael Edet
How??? On Thu, 11 May 2023, 14:25 Vishesh Mangla, wrote: > Try weasyprint > > On Thu, 11 May, 2023, 18:38 Oduwa Imade, wrote: > >> Hello Guys! I am trying to generate a Pdf doc(reading data from a >> database) on Django with xhtml2pdf library. but i encounter this error when >> i hit the

Re: i need to learn more on django

2023-05-11 Thread Michael Edet
Welcome On Thu, 11 May 2023, 14:08 Arash Rahimimehr, wrote: > Try this book: > Django for Beginners Build websites with Python & Django > William S. Vincent > This book is for sale at http://leanpub.com/djangoforbeginners This > version was published on 2022-03-24 > > > ‫‪Naomi Gentle-idyee‬‏

Re: Ajuda

2023-05-11 Thread Michael Edet
What help do you need? On Thu, 11 May 2023, 14:09 Abrao Roberto, wrote: > Olá pessoal, sou um programador iniciante e quero migrar para Django pois > uso streamlit para desenvolver, mas estou tendo problemas serio com > ambiente virtual. > > -- > You received this message because you are

Re: i need to learn more on django

2023-05-05 Thread Michael kosy
Learning from YouTube is a good way to start(and also best if your python skill is good). You can also pay for a Udemy course if you can afford it. The best way to improve is working on project(s) and finishing them. I can suggest a few YouTuber that helped me get on my feet: Dennis Ivy Telusko

Re: Form Page URL Not Found

2023-05-01 Thread Michael Starr
2 May 2023, 02:41 ALBERT ASHABA AHEEBWA, > wrote: > >> >> Hi Michael, >> >> On the issue, of urls, Django uses some kind of regex expression to know >> which view to render. And because it's python, it reads from top - bottom. >> So the two urls "pet

Re: Form Page URL Not Found

2023-05-01 Thread Michael Starr
Man that one always gets me. I forget, often, that computers are simple automatons that obey logical rules. Thank you, good sir. Michael On Monday, May 1, 2023 at 4:26:04 PM UTC-7 Dylan Reinhold wrote: > Ill bite. > > urlpatterns = [ > path("pet//", views.PetDeta

Re: Form Page URL Not Found

2023-05-01 Thread Michael Starr
is bad. Mike On Sunday, April 30, 2023 at 1:43:02 PM UTC-7 Michael Starr wrote: > Hi Alberta. Thank you for the wonderful resource. I like concise > information displays. > > Can you explain, by any chance, when a FormView and when a CreateView are > used? The tutorials also say

Re: Form Page URL Not Found

2023-04-30 Thread Michael Starr
m and rendering a template response." This seems more appropriate. The {{ form }} is polish on the nail. I need my URL to be found first. But thank you for the tangential improvements. Michael On Sunday, April 30, 2023 at 12:27:00 AM UTC-7 ALBERT ASHABA AHEEBWA wrote: > Hi there, >

Re: Form Page URL Not Found

2023-04-29 Thread Michael Starr
t I don't think this is the cause of the url routing error. Michael On Saturday, April 29, 2023 at 6:27:33 PM UTC-7 Michael Starr wrote: > This isn't the exact name of the error; I'm sure you all have encountered > the bad URL error before. But, it tells me it can't find the pet matching &

Form Page URL Not Found

2023-04-29 Thread Michael Starr
ext_object_name = "pet_story_list" class PetStoryDetailView(DetailView): model = PetStory context_object_name = "pet_story" view in question is PetPhotoUploadView Thanks in advance. Michael -- You received this message because you are subscribed to the Google Groups "Django

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-29 Thread Michael Starr
And yeah, django is installed in the venv. Michael On Saturday, April 29, 2023 at 10:40:01 AM UTC-7 Michael Starr wrote: > Thanks. I already have a venv, to answer the first post, and the second, > yes, it says 3.11.2. I think VSCode just has a bug. It doesn't bother me > and my

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-29 Thread Michael Starr
Thanks. I already have a venv, to answer the first post, and the second, yes, it says 3.11.2. I think VSCode just has a bug. It doesn't bother me and my app works in all other respects. Thank you for the input. Michael On Friday, April 28, 2023 at 7:11:57 AM UTC-7 ALBERT ASHABA AHEEBWA wrote

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Michael Starr
I'll redirect the pointers. Michael On Thursday, April 27, 2023 at 3:27:31 PM UTC-7 Khaleel Ahmed H. M. Shariff wrote: > Hi Michael > > May Peace, Blessings & Mercy of Almighty God be on you! > > do you know how to modify the sys.path to add the directory where th

Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Michael Starr
wrong. My server runs in development mode (not in production yet), but there havev been some bugs that are hard to imagine are caused by this, but still (images not loading, CSS not loading). Thanks. Michael -- You received this message because you are subscribed to the Google Groups "D

Report a Django bug how

2023-04-13 Thread Michael Starr
Hi, I double checked my code and Django is not displaying images. I'd like to report the bug but I need to be a django employee to do that. So, if anyone knows anyone on linkedin that works for django, tell them images don't display (on an operating system). Michael -- You received

Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
I checked my settings.py folder backward and forward; nothing seems odd. The media_root and media_url are very self-explanatory, and correct afaik. And if you're going to tell me to add static url stuff to my urls.py, read what David said above. Michael On Wednesday, April 12, 2023 at 1:21:23

Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
handler for your media files at path(‘media/‘,…(, and the path stored in your db is almost definitely correct. The handler you will probably use in development mode will look something like your dev static files config, except for MEDIA_URL and pointing to the file system location where they are actu

Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
simple. Either that or they're leaving out huge chunks of logic. I wouldn't put it past them that it be the latter. And for all those involved and the lord and savior, I am not yet on production. FYI. Michael On Tuesday, April 11, 2023 at 11:58:23 PM UTC-7 David Nugent wrote: > It is v

Tutorial for a Django web store

2023-04-12 Thread Michael Starr
Does anyone know of a good tutorial (preferably with github files) that teaches you how to make a web store in Django? It seems like a basic literacy skill for Django programming. Let me know. Thanks. Michael -- You received this message because you are subscribed to the Google Groups

Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
static, as well as just {{ image.url }} and neither method worked for me. Also, which method is correct? Can we frikkin decide already? :P Thank you. Michael -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-11 Thread Michael Starr
You probably weren't careful enough following instructions. The beginner's tutorial is self-contained and allows a complete Django project to be made. Re-read everything word-for-word and then come back with some hypotheses for us to test for you. Michael On Tuesday, April 4, 2023 at 9:44:38

AW: Scheduler with Django on Windows platform

2023-03-30 Thread Michael Schmeinck
Hi Robbi, one solution to create a platform independent scheduler is to use the package Django-background-tasks. see: https://django-background-tasks.readthedocs.io/en/latest/ This solution works for me. Greetings and good luck Michael Von: django-users@googlegroups.com im Auftrag von

Spies in California and America

2023-03-28 Thread Michael Starr
So does anyone have an update on the police state and spying of Democrat Ukrainians in America yet? Michael -- 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: Scheduler with Django on Windows platform

2023-03-28 Thread Michael kosy
Try, https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html On Tue, Mar 28, 2023, 10:27 AM Robbi Nespu wrote: > Hi Django developers, > I am looking for any package that can do scheduler job. I am used with > "Django-crontab" but I can't use it on windows platform. > > Do

Re: WHAT OTHER REAL TIME MAP CAN I USE IN MY PROJECT ASIDE GOOGLE MAP?

2023-03-25 Thread Michael kosy
Thank you very much, I appreciate. On Sat, Mar 25, 2023, 2:02 PM DOI TUYEN wrote: > I think this link will help you. https://djangopackages.org/ > All packages for django are all here > > Vào Th 7, 25 thg 3, 2023 vào lúc 19:59 Michael kosy < > kosymichael...@gmail.com&g

WHAT OTHER REAL TIME MAP CAN I USE IN MY PROJECT ASIDE GOOGLE MAP?

2023-03-25 Thread Michael kosy
I am on a project that requires me to integrate real time maps into it. I did that using Google API but whenever I run my server, it always throws "Request Denied". Does anyone know any other mapping service that offers free API? -- You received this message because you are subscribed to the

Re: "Fat" vs "Lean" or better "Fit" Use of Electrical Information Devices

2023-03-24 Thread Michael Starr
One more: Fat: Sending yourself emails as a means of storing information Fit: Writing it down somewhere instead Mike On Friday, March 24, 2023 at 3:58:47 PM UTC-7 Michael Starr wrote: > What are the properties of "fat" computer usage? > What are the properties of "fit&q

Re: "Fat" vs "Lean" or better "Fit" Use of Electrical Information Devices

2023-03-24 Thread Michael Starr
I'll start: Fat: Storing files you don't actually need because you "might need them *someday*" Fit: Deleting or better yet, archiving those files Mike On Friday, March 24, 2023 at 3:58:47 PM UTC-7 Michael Starr wrote: > What are the properties of "fat"

"Fat" vs "Lean" or better "Fit" Use of Electrical Information Devices

2023-03-24 Thread Michael Starr
What are the properties of "fat" computer usage? What are the properties of "fit" computer usage? I find I fall into the former category. :( -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Improving your Stack Overflow score

2023-03-22 Thread Michael Starr
I don't get that website. There are assholes in the thousands, and good-intentioned people like me at <10. What is the deal? I don't even know what that site is for sometimes. The questions with good ratings are usually stupid and don't explain things correctly, with bad answers. It's a

How to get fresh air

2023-03-12 Thread Michael Starr
How do you get fresh air in your house? -- 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

Re: How to fight Russia in America

2023-03-12 Thread Michael Starr
I'll roll over and die then. Thank you for contributing to the Russian cause. My parents would be proud. On Sunday, March 12, 2023 at 3:37:58 PM UTC-7 Sebastian Jung wrote: > Please stop this propaganda... This haven't nothing to do with django > > Michael Starr schrieb am So., 12.

How to fight Russia in America

2023-03-12 Thread Michael Starr
Russia's influence in America is powerful. How do you fight it? -- 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

Re: Trying to render images from database

2023-03-10 Thread Michael Starr
in this thread. On Tuesday, March 7, 2023 at 4:09:04 PM UTC-8 Red Plant wrote: > If not, check each img src using your browser's dev tools. > > On Wed, Mar 8, 2023 at 8:07 AM Red Plant wrote: > >> Have you checked each img src? >> >> On Wed, Mar 8, 2023 at 6:17 AM Mic

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
I am using FireFox. On Tuesday, March 7, 2023 at 2:11:38 PM UTC-8 Michael Starr wrote: > this.window.gBrowserInit is undefined ext-browser.js:1134 > get activeTab chrome://browser/content/parent/ext-browser.js:1134 > candidates chrome://extensions/content/parent/ext-tabs-bas

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
self-hosted:810 On Tuesday, March 7, 2023 at 1:58:12 PM UTC-8 Red Plant wrote: > What's showing on the browser console? > > If you're using chrome, press F12 to open developer tools, then find the > console tab. > > On Wed, Mar 8, 2023, 1:31 AM Michael Starr wrote: >

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
this https://docs.djangoproject.com/en/4.1/topics/files/ seems useful, but isn't really for me. Mike On Tuesday, March 7, 2023 at 9:31:02 AM UTC-8 Michael Starr wrote: > Well, my privilege of posting "" on SO was revoked so I can't get my > questions answered anymore. So I gu

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
it appends a six digit ASCII text thingy to the filename, so the filename isn't actually correct even, anymore. So many problems. Django is NOT the api for perfectionists with deadlines. Mike On Saturday, March 4, 2023 at 3:31:30 PM UTC-8 Michael Starr wrote: > Thank you Sandip. I missed tha

Function-based Views vs Class-based Views

2023-03-06 Thread Michael Starr
What are the pros and cons of either method of rendering HTTP request responses? https://www.geeksforgeeks.org/class-based-vs-function-based-views-which-one-is-better-to-use-in-django/ In the article above it states that CBVs are DRYer, but I don't understand why. The article doesn't explain,

Re: Ordering of code

2023-03-03 Thread Michael Starr
Thank you, David. Michael On Friday, March 3, 2023 at 4:14:46 PM UTC-8 David Nugent wrote: > Both are related to the python language, nothing Django specific about > them. > > This may help (not in explaining so much as demonstrating workarounds): > > https://stackoverflow.com

Trying to render images from database

2023-03-03 Thread Michael Starr
file path. I don't know if that's right or it needs to be in the project sub-directory. It's impossible to figure this out online. No one explains these simple simple things CLEARLY. So frustrating. Michael -- You received this message because you are subscribed to the Google Groups "Django

Can't render images from database

2023-03-03 Thread Michael Starr
My next issue is that I'm having difficulty displaying images stored in the database. It's a mouthful so I'll spare you, but I'll add details as I go along. Michael -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: django.db.utils.OperationalError: foreign key mismatch - "pet_profile_petphoto_pet" referencing "pet_profile_petphoto"

2023-03-03 Thread Michael Starr
an ACTUAL migration. Nifty command to know. Michael On Thursday, March 2, 2023 at 2:19:52 PM UTC-8 Michael Starr wrote: > Now I am trying > > https://stackoverflow.com/questions/28385919/django-no-such-table-for-custom-user-profile-why > But it doesn't get rid of > OperationalError at /ad

Ordering of code

2023-03-03 Thread Michael Starr
Does anyone know why in django models (and I don't know how it is in etc. python), you can define a function below, and use it above in the code, but a class can't reference a class defined later in the code, or it won't find it? That seems like beyond stupid to me. Michael -- You received

Re: django.db.utils.OperationalError: foreign key mismatch - "pet_profile_petphoto_pet" referencing "pet_profile_petphoto"

2023-03-02 Thread Michael Starr
the superuser, as a side note, but I don't think this is relevant. Leaning toward posting this in stackoverflow soon. Will take some time to edit, polish, and edit again and again the question so that it is up to the perfectionist standards of the stackoverflow tzars. Michael On Thursday, March 2, 2023

Re: django.db.utils.OperationalError: foreign key mismatch - "pet_profile_petphoto_pet" referencing "pet_profile_petphoto"

2023-03-02 Thread Michael Starr
Including not even finding the basic model field Pet, the most basic thing OperationalError at /admin/pet_profile/pet/ no such table: pet_profile_pet It's totally effed. Michael On Thursday, March 2, 2023 at 2:01:15 PM UTC-8 Michael Starr wrote: > This > > https://stackoverflow.com/

Re: django.db.utils.OperationalError: foreign key mismatch - "pet_profile_petphoto_pet" referencing "pet_profile_petphoto"

2023-03-02 Thread Michael Starr
This https://stackoverflow.com/questions/62726885/foreign-key-mismatch-comment-referencing-chellenge seems to work, but now I am getting a slew of database table model errors. On Wednesday, March 1, 2023 at 12:35:59 PM UTC-8 Michael Starr wrote: > I even deleted the pet field from pet_ph

NoReverseMatch--Seems that Django doesn't detect the app url

2023-02-25 Thread Michael Starr
pet_memorial.wsgi.application' X_FRAME_OPTIONS 'DENY' YEAR_MONTH_FORMAT 'F Y' You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code. I underst

Re: Need help

2023-02-22 Thread Michael Fladischer
file here: https://media.djangoproject.com/docs/django-docs-4.1-fr.zip Best regards, Michael -- 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-user

Re: BUG USING modelformset_factory MODULE

2023-01-24 Thread Michael Maina
Resolved: Using parameters max_num=1, extra=0 https://docs.djangoproject.com/en/3.2/topics/forms/modelforms/#max_num Mea culpa On Sunday, January 22, 2023 at 10:49:01 PM UTC+3 Michael Maina wrote: > Hello, > > > > I have a challenge using the modelformset_factory m

Re: how to initialize input form fields using URL parameters

2023-01-23 Thread Michael Maina
Hello, You need to start from the urls.py file and define a path that looks close this your_path/ or your_path/ Then change your view to handle the new parameter def form_view(request, variable_data): Within your view you can now manipulate this parameter through a

BUG USING modelformset_factory MODULE

2023-01-22 Thread Michael Maina
of my setup are highlighted below: A) PIP FREEZE (tickets) michael@Data-Wrangler tickets % pip freeze asgiref==3.5.2 backports.zoneinfo==0.2.1 certifi==2022.6.15 charset-normalizer==2.0.12 crispy-bootstrap5==0.6 Django==3.2.13 django-cors-headers==3.10.1 Django-crispy

Please i need help in creating a Login page with Django

2023-01-18 Thread Michael R. KOOMSON
I am trying everything possible to create a basic login page with Django., i have tried so many videos and online tutorial, but still can't make anything meaningful out of it. Can anyone please take me through a systematic process please, since i am new here and want to take Django to be my

Re: Forum on WhatsApp

2022-12-23 Thread Michael Starr
You might want to explain a little bit more if you want people to join, which is what I'm guessing you want. Mike On Thursday, December 22, 2022 at 2:55:04 PM UTC-8 julika...@gmail.com wrote: > https://chat.whatsapp.com/COaaB3ss9YoGJQNoGm8K6s > -- You received this message because you are

Re: Need help Scraping a couple of websites

2022-12-23 Thread Michael Starr
Yeah it's not a DDOS or anything. They are providing the movie information on their site, from their databases, as-is and without warranty. That means you can do whatever you want with it to the fullest extent of criminal law. But maybe I have no idea what I'm talking about. Cheers, Mike On

Re: What are the default entries in a context dictionary, context[], from a View?

2022-12-22 Thread Michael Starr
ere is an entry in Pet ("Mocha"). Mike On Thursday, December 22, 2022 at 5:17:34 PM UTC-8 Michael Starr wrote: > I got an answer for ListView here > <https://stackoverflow.com/questions/60156251/get-context-data-method-django> > but I don't know if that's the same for all

Re: What are the default entries in a context dictionary, context[], from a View?

2022-12-22 Thread Michael Starr
I got an answer for ListView here <https://stackoverflow.com/questions/60156251/get-context-data-method-django> but I don't know if that's the same for all views. Probably not would be my guess. Mike On Thursday, December 22, 2022 at 3:05:34 PM UTC-8 Michael Starr wrote: > I am

What are the default entries in a context dictionary, context[], from a View?

2022-12-22 Thread Michael Starr
I am starting to understand context dictionaries, and I figured out from some Googling that the get_context_dictionary method belongs in a View, the one that you want to provide entries for its corresponding template. My question is somewhat academic: Why can't I just use the context

Re: URL evaluates to 'slug' literally instead of the variable slug

2022-12-20 Thread Michael Starr
No reply yet, so bump. On Friday, December 16, 2022 at 5:51:14 PM UTC-8 Michael Starr wrote: > I hope someone is still subscribed to this post. I had another question... > > I looked up your link, about context dictionary, presumably to modify the > value returned by the function, l

Re: URL evaluates to 'slug' literally instead of the variable slug

2022-12-16 Thread Michael Starr
on Django, so no problems there (so far). I think that's it, actually. Thanks in advance, hugely appreciate any help anyone can offer. Best, Mike On Thursday, December 15, 2022 at 2:54:59 PM UTC-8 Michael Starr wrote: > Sorry for that crass, asinine comment. I had a flare up of my condition. >

Re: URL evaluates to 'slug' literally instead of the variable slug

2022-12-15 Thread Michael Starr
Sorry for that crass, asinine comment. I had a flare up of my condition. Thank you all for the help. Mike On Sunday, December 11, 2022 at 4:32:04 PM UTC-8 Michael Starr wrote: > It's poorly written and mine isn't. Am I better than them. > > On Monday, December 5, 2022 at 6:36:30 AM UTC

Re: URL evaluates to 'slug' literally instead of the variable slug

2022-12-11 Thread Michael Starr
It's poorly written and mine isn't. Am I better than them. On Monday, December 5, 2022 at 6:36:30 AM UTC-8 elvisa...@gmail.com wrote: > Good ! > > Le dim. 4 déc. 2022 à 22:04, Michael Starr a > écrit : > >> Thank you, Peter. I forgot to acknowledge your contributio

Re: URL evaluates to 'slug' literally instead of the variable slug

2022-11-30 Thread Michael Starr
Thank you. Though, that hard codes everything, which is bad. How do I generalize it? Also, this worked. I had to specify template_name = pet_profile.html in the pet detail view. On 11/30/22 7:15 AM, Ryan Nowakowski wrote: On Tue, Nov 29, 2022 at 06:35:25PM -0800, Michael Starr wrote

URL evaluates to 'slug' literally instead of the variable slug

2022-11-30 Thread Michael Starr
am trying to make an app for people to share information about their pets (animals). I have made the framework files so far, but have run into a problem getting the pet's slug (which should be unique for each pet, in order to have a unique URL for each pet's profile page with no collisions b

Re: secret api keys

2022-10-26 Thread Michael Rohan
Hi, This is one of the drivers for my package: https://django-yamlconf.readthedocs.io/en/latest/ Externalize setting values to yaml files. Take care, Michael On Wed, Oct 26, 2022 at 9:45 PM Mike Dewhirst wrote: > On 27/10/2022 3:32 pm, Mike Dewhirst wrote: > > Not a dumb

Re: hello guys I need help

2022-08-30 Thread Rotimi Michael james
my name is engr rotimi michael james , i think i can help you please just make the model one to one relations , that is one user to a page and a page to one user, hope it help. On Mon, Aug 29, 2022 at 3:06 PM ISTEEN ISAC wrote: > I am beginner , how to redirect different types of pa

Re: Job -Fullstack python expert ( Django framework)

2022-08-25 Thread Rotimi Michael james
am interested in the job On Thu, Aug 18, 2022 at 8:03 PM Each1Teach1 < pcintegral.pcintegr...@gmail.com> wrote: > This project is very straight to the point. We are building a micro > service on top of Django framework. We currently have a virtual private > cloud on DO and will like to migrate

Re: Need help on reducing cognitive complexity

2022-07-21 Thread Michael Thomas
Personally I think the code has a very weird "smell"... Assuming you don't have any way of rewriting the calling code and are stuck with editing this single method, I'd suggest something along the lines of: @staticmethod def in_circle_check(obj_type, item, uuid): if obj_type not in ['trees',

Re: DRF question

2022-07-20 Thread Michael Thomas
ews/ >>> >>> On Tue, 19 Jul 2022 at 06:38, Nikhil Chawla >>> wrote: >>> >>>> Don't clutter the django views with DRF requests. Keep them separate, >>>> available at, say `api` endpoints. >>>> >>>> On Tue, 19

Re: DRF question

2022-07-18 Thread Michael Thomas
and serializers mentioned above, as well as any additional actions that didn't fit within the normal REST verbs 4) Created a router and registered the viewsets with it 5) Added the router's urls into the projects url configuration I hope that's useful :) Kind Regards, Michael Thomas On Tue, Jul 19, 2022 at 7

Re: upgrading from 1.11 and ran into builtin permission clash

2022-07-01 Thread Michael Manfre
ted. I think 3.2 is the oldest supported version. Why not > upgrade to 4? The options for uplifting severely out of date projects are to either step-by-step migrate through older versions, or rewrite in the target version. Cheers, Michael Manfre -- You received this message because you

Re: Please criticise use of global keyword in Admin

2022-05-18 Thread Michael Thomas
ong, in my opinion at least! Kind Regards, Michael Thomas On Thu, May 19, 2022 at 9:34 AM Mike Dewhirst wrote: > The code below appears to work perfectly but it worries me because I > have never used the global keyword before. > > Is there a generous guru who will criticise the code c

Re: Filtering by custom UUIDField got broken with Django 3.2 upgrade

2022-05-05 Thread Michael Powell
AFAIK, 'dashes' in a character based persisted UUID is divergent behavior. UUID are 128 bits wide, apportioned by nibble into a character field, 32 at most. So... The migration is yours to correct. Good luck, good hunting, HTH. On Wednesday, May 4, 2022 at 11:14:02 AM UTC-4 bmila...@gmail.com

Django CMS + commerce solutions

2022-04-18 Thread Michael Powell
please. Thank you... 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.co

Re: CMS 'power' getting started

2022-02-19 Thread Michael Powell
s, etc, and in potentially multi-author scenarios, with dev/staging/prod phase lines. Let me know if that makes sense or I can clarify anything getting started. Thanks! Michael W. Powell -- You received this message because you are subscribed to the Google Groups "Django users" group

What to treat as 'source'

2022-02-17 Thread Michael Powell
, etc? Similarly, where/when are the authoring efforts usually done? As part of 'dev' inner loop? Or might there also be an author inner/outer loop? Then with whatever corresponding database backups, migrations, etc. Thank you... Best regards, Michael W. Powell -- You received this message because

Re: Django versus competitors survey

2022-02-12 Thread Michael Powell
view (and practical examples) on > handling threading and concurrency in Python, have a look at > https://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python > > On Thursday, 10 February 2022 at 18:35:47 UTC+2 michae...@gmail.com wrote: > >> On Wednesday, F

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 wron

Django versus competitors survey

2022-02-08 Thread Michael Powell
ive 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 uns

Re: get country from IP_addres.

2021-12-15 Thread Michael Thomas
://docs.djangoproject.com/en/4.0/intro/tutorial02/#playing-with-the-api Kind Regards, Michael Thomas On Thu, Dec 16, 2021 at 3:08 PM Amor Zamora wrote: > Can you help me? > I need to obtain the country of where the users access from the IP and > insert that information into the sqlite3 database. &

Re: [DJANGO-TUTORIAL]

2021-10-08 Thread Adebayo Michael
Firstly, try to have a basic knowledge on HTML and CSS. Before you start Django. They are relatively simple to understand. Check w3 school for tutorial on them. On Fri, 8 Oct 2021, 3:17 pm Chakresh Singh, < chakresh.si...@alumni.iitgn.ac.in> wrote: > Dear All, > I am beginning my first task on

Re: GeoDjango with SpatialLite on Windows 10

2021-08-12 Thread Michael Ross
> Thank you[image: error.png] Maybe this helps: https://stackoverflow.com/questions/53682315/error-on-libcurl-dll-when-using-gdal-of-osgeo4w-in-django TLDR: IntelliJ loads wrong sqlite3.dll? -- Michael Ross -- You received this message because you are subscribed to the Google Groups "Django

Re: how does Django handle outbound requests?

2021-06-27 Thread Michael Ross
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/20152777-2847-4b94-974c-27be70ee04can%40googlegroups.com. -- Michael Ross -- You received this message because you are su

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-03 Thread Michael Smith
You can't have three of the same name view either can you? On Thu, Jun 3, 2021 at 9:36 AM Nandaniya Nilesh < nileshnandaniya...@gmail.com> wrote: > hello, > I am nilesh, > i think every funtion should return something. > > return dests from index named function. > last line is not with any

Re: CSS not linking with HTML

2021-06-02 Thread Michael Thomas
is invaluable in the long run. Kind Regards, Michael Thomas On Wed, Jun 2, 2021 at 8:16 PM sukhy gill wrote: > Dear frnd, > I am getting stuck at same point with static with new project. > May I get setting for settings.py ? > > Regards > > On Sat, May 29, 2021, 18:

Re: DRF simplejwt refresh access_token stored in httponlycookies

2021-05-08 Thread Michael Thomas
ay be better off with regular django session authentication, signed cookies, etc.. Kind Regards, Michael Thomas On Sat, May 8, 2021 at 11:02 AM narendra thapa wrote: > Thank You @Michal Thomas, i was able to refresh a token now, But i got > another confusion from your answer :D. Which is the bes

  1   2   3   4   5   6   7   8   9   10   >