Re: Project together

2023-11-23 Thread Jacob Greene
šŸ¤£ On Thu, Nov 23, 2023, 5:05 PM Joshua Olatunji wrote: > https://chat.whatsapp.com/IgJcwnZR9sr1Jatc5jnSx9 > > On Thu, Nov 23, 2023, 9:34 PM Dawda Borje Kujabi > wrote: > >> Your link is not working for me >> >> >> Original message >> From: Joshua Olatunji >> Date: Thu, 23 Nov

Re: How to fight Russia in America

2023-03-12 Thread Jacob Greene
Get bent my guy. On Sun, Mar 12, 2023, 11:59 PM Jacob Greene wrote: > Lmao wtf is this troll > > On Sun, Mar 12, 2023, 5:51 PM Michael Starr wrote: > >> I'll roll over and die then. Thank you for contributing to the Russian >> cause. My parents would be proud. &g

Re: How to fight Russia in America

2023-03-12 Thread Jacob Greene
Lmao wtf is this troll On Sun, Mar 12, 2023, 5:51 PM Michael Starr wrote: > 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

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Jacob Greene
s? I have been playing with > alternatives for a week and Iā€™m starting to lose itā€¦lol > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > > *From: *Jacob Greene > *Sent: *Friday, February 25, 2022 5:58 PM > *T

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Jacob Greene
If you're using model choice fields, it's very likely you are making an SQL query for each form set. It should be pretty obvious in the log with debug turned on. On Fri, Feb 25, 2022, 4:31 PM Ryan Nowakowski wrote: > Steven, are you using ModelFormSet? If so, Is it the initial query > that's sl

Re: Django Exception "Detected path traversal attempt in" for save a model with filefield

2022-02-04 Thread Jacob Greene
Hmm that can't be right. Can you set a breakpoint on the line where the exception is raised: SuspiciousFileOperation("Detected. When you set a breakpoint there, inspect the value of dir_name. The ".parts" method breaks the file path up into a tuple, there shouldn't be a ".." in the tuple. O

Re: Django Exception "Detected path traversal attempt in" for save a model with filefield

2022-02-03 Thread Jacob Greene
This is obviously some type of security feature to prevent someone from climbing up a directory. You have ".." in your string for the file path somewhere. What is the value of "dir_name" when the exception is raised? It should be in the traceback somewhere. Should help narrow down where it's comin

Re: TypeError: 'str' object is not callable

2021-08-30 Thread Jacob Greene
You need to pass the request object as the first argument. https://docs.djangoproject.com/en/3.2/ref/contrib/messages/ On Mon, Aug 30, 2021, 11:01 PM Thomas Lockhart wrote: > Just guessing that you need to write > > messages.success = ā€œYour ad is successfully postedā€ > > But without more inform

Re: ProgrammingError - relationship does not exist

2021-07-07 Thread Jacob Greene
Oh actually, it looks like the table doesn't exist. I misread the SQL. Something is wrong with your migrations. Are you sure you ran "makemigrations" after creating the shop model? On Wed, Jul 7, 2021, 11:03 AM Jacob Greene wrote: > Do you have any other attributes set

Re: ProgrammingError - relationship does not exist

2021-07-07 Thread Jacob Greene
Do you have any other attributes set in the modeladmin? Something is telling the ORM to do a query on the "shop" field, and that field doesn't exist in the DB and it's not defined in the model. Possibly a filter field in the ModelAdmin class? A full back trace might help illuminate where you have t

Re: ProgrammingError - relationship does not exist

2021-07-06 Thread Jacob Greene
The issue is with the model not the admin page. I suspect you haven't ran migrations for the "Shop" model. You defined a "shop" field in the model, but the database doesn't know anything about it. On Tue, Jul 6, 2021, 7:16 PM Stathis Angelou wrote: > Good evening all, i have created a new app

Re: PLS HELP!! - SCRAPE YOUTUBE CHANNEL EMAIL

2021-06-20 Thread Jacob Greene
Might be easier and more reliable to use the API. https://developers.google.com/youtube/v3 On Sun, Jun 20, 2021, 7:21 AM Priyesh Ranjan wrote: > yes i can do that for you > > On Sun, Jun 20, 2021 at 6:29 AM Vrushang Desai > wrote: > >> Hi Guys , >> Anyone knows how to scrape Youtube Channels E

Re: Desperately need help.

2021-06-14 Thread Jacob Greene
Lol what do you expect anyone to do? You just post some random HTML, zero code, no backtrace, nothing to even indicate there is an issue that someone could solve even IF they were willing... This has nothing to do with Django. I don't understand what you thought was going to happen. This is possibl

Re: Module "django.core.cache.backends.memcached" does not define a "PyMemcacheCache" attribute/class

2021-06-11 Thread Jacob Greene
Looks like only django 3.2 uses PyMemcacheCache. Try: "django.core.cache.backends.memcached.MemcachedCache" Also, make sure you are using the docs for the correct version of django: For example: https://docs.djangoproject.com/en/3.0/topics/cache/ instead of: https://docs.djangoproject.com/en/3.2

Re: IndexError at /

2021-06-11 Thread Jacob Greene
The backtrace is pretty clear.. Here's the import part: File "C:\Users\GEMINI INNOVATIONS\Documents\WEB DEV TUTOR FULL STACK\django_project_boilerplate-master\ECOMMERCE\core\templatetags\cart_template_tags.py", line 13, in cart_item_count return qs[0].items.count() "qs" is probably an empty list

Re: Urgent help

2021-02-25 Thread Jacob Greene
I would also like some urgent free work done for me. Please anyone. Drop what you are doing and help me now. On Thu, Feb 25, 2021, 9:26 PM neha bhurke wrote: > Thank u so much for your help šŸ˜Š > *Regard,* > *Neha Bhurke* > > > > > On Thu, Feb 25, 2021 at 3:09 PM Kasper Laudrup > wrote: > >> On 2

Re: Ransomeware

2020-09-05 Thread Jacob Greene
I'd also be will willing to provide you with Bofa On Sat, Sep 5, 2020, 7:44 PM Jacob Greene wrote: > No paypal, but I could do Ligma as well. > > On Sat, Sep 5, 2020, 7:42 PM Mustafa Mahmoud > wrote: > >> No do you have a PayPal >> >> >> On Sun,

Re: Ransomeware

2020-09-05 Thread Jacob Greene
No paypal, but I could do Ligma as well. On Sat, Sep 5, 2020, 7:42 PM Mustafa Mahmoud wrote: > No do you have a PayPal > > > On Sun, Sep 6, 2020, 2:09 AM Jacob Greene > wrote: > >> Would you accept payment via deez? >> >> On Sat, Sep 5, 2020, 6:32 PM Must

Re: Ransomeware

2020-09-05 Thread Jacob Greene
Would you accept payment via deez? On Sat, Sep 5, 2020, 6:32 PM Mustafa Mahmoud wrote: > Do you wanna buy it > > On Sun, Sep 6, 2020, 1:14 AM Raphael Polanco > wrote: > >> Hey, Musatafa. >> >> Can you give more details on this project of yours? >> >> R.. Polanco >> >> On Sat, Sep 5, 2020 at 2:0

Re: ModelForm "error_css_class" not getting applied to ValidationErrors raised in model.clean()

2019-07-16 Thread Jacob Greene
Thank you for the reply! And good catch haha, I'm not actually. I editing these by hand so I wasn't posting some confusing telephony terminology. I'm displaying errors in my templates by marking them with that "form_error" css class. They are just red and bold, most errors are shown with the cor

ModelForm "error_css_class" not getting applied to ValidationErrors raised in model.clean()

2019-07-15 Thread Jacob Greene
Hello! Has anyone dealt with this before? It seems that my forms don't add the CSS class to errors raised in model.clean() or model.clean_fields() methods. I have a form that looks something like this: class HttpsFaxBoxForm(forms.ModelForm): error_css_class = 'form_error' class Meta: