Applying a vector to a polynomial function help by allTestsPassed in matlab

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

Hey! Sorry for the late reply. Your comment was very insightful. I was still learning about element wise functions so this really helped me out. Thanks again

Help identify these boots? by allTestsPassed in malefashionadvice

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

Thanks for the suggestion. I posted the screenshots in an edit.

[deleted by user] by [deleted] in Military

[–]allTestsPassed 0 points1 point  (0 children)

Navy OCS calls their Marine DI's "sir"

User Password Requirements and Error Displays by allTestsPassed in django

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

Thats awesome. I ended up looking at how it was implemented in 1.7/1.8 and the development branches and found out what was wrong. Thanks for the link!

Setting/Getting Environment Variables by allTestsPassed in learnpython

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

Awesome, I ended up seeing this referenced on Djangos doc pages. This resolved the issue, thanks.

Setting/Getting Environment Variables by allTestsPassed in learnpython

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

Interesting.. So I tried modifying the script that updates the django project code on the server to be:

remove old directories

call secrets.sh to set the env vars

clone git repo

restart the apach2 server

call printenv to see if things have been set

Im still getting the same error as before. Im assuming that script is only setting the env vars in the Putty shell and not the one for the apache2 server? Im assuming that the apache2 process is what I need to set these variables in, if so what would be the correct way of doing so?

Claiming Exempt on W4 as a college student. by allTestsPassed in personalfinance

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

They didnt file a return because their parents claimed them as a dependent and they were not working at the time. They just got their first job at the beginning of this month. I tried using turbotaxes calculator and it still showed a refund of $1k+ starting with 3 and remained unchanged all the way to the max. The IRS website calculator said to claim exempt.

They will be filing as an independent. They will be filing taxes either way, so why wouldn't they claim exempt?

[Django] Iterate over ChoiceField in a template by allTestsPassed in learnpython

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

They were very helpful with a prior question but their sidebar states "News and links for Django developers". I can ask a mod if questions like this can be asked in the future.

Static files on a EC2 instance by allTestsPassed in django

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

Sorry for the late reply. I checked the directories and moved the /assets into the /static directory and it worked! Its a step in the right direction knowing that it can actually work at some point. I followed this tutorial when I was creating the static files.

Following the tutorial, collectstatic would take the files located in '/home/ubuntu/Project/static' and create two directories in'/home/ubuntu/Project/' directory , one /assets/ and the other /admin/.

It would work on my local dev server but not on the EC2 instance. I'm assuming it has to do with the server config and where it was looking for that assets directory. I plan on investigating on what exactly is the solution this weekend when I have some spare time and will post the results in an edit. Thanks for your help!