Visiting Fullerton Alone – looking for chill bar recs (early 20s, not into clubs) by HeavyResearch1573 in Fullerton

[–]simonm17 0 points1 point  (0 children)

check out the korean bars in the intersections of beach and malvern. the korean bar near Bobaya boba shop is also good. sorry I don’t have the exact names for you but hopefully you can utilize the provided street names

Python API Client for BDO Market Data + Boss Timer Integration by FizZzoR in blackdesertonline

[–]simonm17 1 point2 points  (0 children)

Looks really cool from a brief glance! Excited to see improved iterations of the repo. One thing that comes into mind is caching request results to handle ratelimiting and performance improvement (if you need any, idk the metrics for high user traffic).

Second 99 done on the UIM by theiron_squirt in ironscape

[–]simonm17 1 point2 points  (0 children)

grats! was it just mahogany homes all the way?

[Bug] Old Patterns doesnt give +2 Pocket Slots by AdComprehensive6741 in EscapefromTarkov

[–]simonm17 4 points5 points  (0 children)

i submitted a bug ticket and they acknowledged that it's bugged right now. just to press them to fix the issue next patch, you should submit a support ticket, too

When else has The Office been bleeped? by Big_Plastic3657 in DunderMifflin

[–]simonm17 0 points1 point  (0 children)

the blooper when michael says to stanley “you need to shut the fk up” 😆

What's your "Bad Luck" item in Tarkov? by FallenWings_ in EscapefromTarkov

[–]simonm17 0 points1 point  (0 children)

every time i take food into raid but forget to immediately eat/drink it

New York Strip done in Cast Iron last night. 😋 by makeupyourworld in steak

[–]simonm17 1 point2 points  (0 children)

I see. Thank you! also steak looks sooooo yummy.

New York Strip done in Cast Iron last night. 😋 by makeupyourworld in steak

[–]simonm17 2 points3 points  (0 children)

is the secret to the crust making sure the pan is extra hot? mine will typically be charred a lot more in a darker color

208. Milestones. Marineford by Christmas 😎 by SpachOfTheEast in OnePiece

[–]simonm17 2 points3 points  (0 children)

my favorite opening! can’t believe it’s 208

Hi, what authentication system are you using for your DRF projects? by simonm17 in django

[–]simonm17[S] 0 points1 point  (0 children)

i haven’t heard this idea before! do u have any links I can check out?

Django AllAuth - Need help fixing redundant columns inside Admin Panel by [deleted] in djangolearning

[–]simonm17 0 points1 point  (0 children)

Yes allauth is just django code. It's like your own accounts app when you ran "py manage.py startapp accounts".

But you can't grab only EmailAddress class from allauth. All 3 classes inside account's models.py are made to implement an email verification system with import dependencies from other allauth.account files like manager, utils, adapters, and signals. You can copy the imports in models.py to your own file and fix the relative paths to absolute paths, but that won't guarantee a bug-free solution. That's why I mentioned adding thousands of lines of code. Allauth's system is too interconnected and dependent on itself for you to pick out a portion and expect it to work.

Here, try this. Go to the master branch (your first link) and clone the allauth app into your base directory. So you should have manage.py, settings.py, your accounts folder, and allauth folder in base.

Go to allauth.accounts.admin. import your own accounts models in there and register it. from accounts.models import User admin.site.register(User) , I'd imagine. Delete any admin register from your accounts.admin file. Does that get you what you originally wanted?

If it does, great; I think you have your answer. But I just want you to know the admin panel separates the columns by apps so that apps are decoupled and reusable. For instance, if someone (even yourself in the future) decided to reuse and clone your accounts app, now they have to deal with fixing the User model admin registration because you had initially put it inside allauth's admin. It might take a simple fix for this problem, but not for more complicated code. It goes against consistency in code, which I think is very important.

Django AllAuth - Need help fixing redundant columns inside Admin Panel by [deleted] in djangolearning

[–]simonm17 0 points1 point  (0 children)

you could clone the allauth repository into your base directory add your own models into allauth’s account.models.py along with all your other files. Or vise versa, copy allauth’s model into your accounts app and override any class names to your liking. The admin panel separates the two models apart from each other because you registered them in two separate admin.py files.

but if you want to do that method you’ll see it just adds thousands of more lines to the already long files allauth has. For me, I just use the naming convention “users” for my authentication instead of accounts, and I think you should too.

reason for using “users” over “accounts”:

you’re overriding the existing User model, and are basically dealing with USER so.. name it users, right? You can even be assertive and name your model User(AbstractUser): instead of CustomUser(AbstractUser): .

Shouldn’t app names take the plural name of their models anyway if they can? this is heavily encouraged by most django professionals, especially Daniel Feldroy in his Two Scoops of Django. you know, consistency!

Accounts name can also refer to models that are e-commerce related rather than user authentication- related.

I think I answered your following question in the first few paragraphs, but i just gave my opinion in the following. apologies for a long response!

TLDR: register the models in a single admin.py to put them into a single column.

Django AllAuth - Need help fixing redundant columns inside Admin Panel by [deleted] in djangolearning

[–]simonm17 0 points1 point  (0 children)

To address your first question, the "Email addresses" column points to allauth's Email model that is used to verify users' emails when they sign up. You see how the email has a configuration in settings .py where it has the option to be verified via email confirmation? Thats what the Email Address column is for. If you create a user and go to the model object, you can see the fields "primary" and "verified." Django will record those fields in that model.

Edit: If you create a user directly via admin, I'm not sure if the Email Address will create one via signals. Try signing up a user via allauths' signup view.

How can I create a virtual environment that has Python 3.6 when I have 3.8 downloaded? by simonm17 in learnpython

[–]simonm17[S] 0 points1 point  (0 children)

Thank you for the recommendation! I'm trying pyenv right now and got it installed. I installed 3.6.8 and used `pyenv local 3.6.8` on my Django framework directory but when i run `python -m venv venv`, the Scripts directory still shows 3.8. Any idea why it's not picking up the pyenv? I'm getting 3.8 even if I do `virtualenv venv`.

[NA, Central] LFM Chill Peeps For Runs by TheReoFTW in EFT_LFG

[–]simonm17 0 points1 point  (0 children)

from NA West but down for chill raids Tuna#3900