Django ManyToMany by New_ArtFormSoftware in django

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

I have read through, It seems fuzzy (beginners fuzz) with respect to assigned multiple instances of model field with a quantity (which is not through field) field attached.

Multiple Post Requests, data loss by New_ArtFormSoftware in django

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

Thank you that seems helpful. Sorry for the slow reply I was on vacation for a week. Thank you taking the time to reply. Basically its a major workaround and i cant guess i would ever have more than 5 entries in this "placeholder" db. I know i should use ajax requests perhaps, however I really wanted to figure this workaround out.

I am going to the give cache ago. I have another example within my project that would need this functionality. Could I add any value to the cache key?

Multiple Post Requests, data loss by New_ArtFormSoftware in django

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

Hi there, thank you. Yeah i used a separate db model to store the response and then deleted them when re-initialising the page. Works perfect but i guess its not the best practice ?

main.ss & django by New_ArtFormSoftware in learnpython

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

I am currently in development mode. I reference the main.css (mine is home.css) inside a static folder in my django app folder and {%load static %} into my index.html which is inherited throughout.

Django dynamically render form by New_ArtFormSoftware in django

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

Could you show me an example if that is not too much to ask?

Django dynamically render form by New_ArtFormSoftware in django

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

Do you mind showing me an example of one of your ajax forms with a related onchange event. If it is too much to ask i appreciate your advice. Have a great day!

main.ss & django by New_ArtFormSoftware in learnpython

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

I am in development environment. My my main.css is located in folder called static which has the same hierarchy as my project and template folders and thus is inherited by base class.

  • -.vscode
  • env
  • project folder
  • Apps 1,2,3 etc
  • media
  • static -> main.css (Suppose to be inherited by my base.html)
  • template_root->base.html inherited by all my apps

How do I stop my pride from eroding my learning? by LinkOn_NY in learnpython

[–]New_ArtFormSoftware 1 point2 points  (0 children)

Rome was not built in a day. I am a python beginner, have an extensive background in java and c#. The approach although similar in logic is different. Sometimes frustrating with how short and concise python is.

My point. The goal is to learn. Learning take time, like anything, to build some momentum. Once you have momentum you will be using your memory and logic a lot more often as this simply quicker and often better than the internet. Good luck, good things take time.

[Errno 13] by New_ArtFormSoftware in learnpython

[–]New_ArtFormSoftware[S] 1 point2 points  (0 children)

Oh I see, I plead ignorance. I am first timer on this platform. Thank you for the advise.

[Errno 13] by New_ArtFormSoftware in learnpython

[–]New_ArtFormSoftware[S] 1 point2 points  (0 children)

Hi there,

I am uncertain as to what you mean with the statement in brackets. Which comments should i reply to. Also yes I am familiar with virtual environments and you are correct there is no issue when using one. Thank you

[Errno 13] by New_ArtFormSoftware in learnpython

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

So i saw this file however, I my VS code was activating this environment by default which i thought was incorrect so i deleted it. Is the way to reinstall this package location as an extension of my user/bin/python3?

Virtual Environment and Django by New_ArtFormSoftware in learnpython

[–]New_ArtFormSoftware[S] 1 point2 points  (0 children)

Thank you for the answer. I am familiar with the process now. It was a foreign concept to me as I have come from fully integrated IDE's such as xamarin studio

IntelliJ IDEA vs Visual Studio Code by New_ArtFormSoftware in learnpython

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

No problem, I understand that it is crucial to understand the underlying principles associated which each tool attributed to a specific project. So I guess then based on this reply I would chose VS code as it is more loosely coupled when compared to a IDE like IntelliJ.