what is the Psychodynamic understaning of depression

It was nonsense when Freud developed it, and it is generally recognized as nonsense now:

<<There are multiple explanations that fall under the psychodynamic "umbrella" that explain why a person develops depressive symptoms. Psychoanalysts historically believed that depression was caused by anger converted into self-hatred ("anger turned inward"). A typical scenario regarding how this transformation was thought to play out may be helpful is further explaining this theory. Neurotic parents who are inconsistent (both overindulgent and demanding), lacking in warmth, inconsiderate, angry, or driven by their own selfish needs create a unpredictable, hostile world for a child. As a result, the child feels alone, confused, helpless and ultimately, angry. However, the child also knows that the powerful parents are his or her only means of survival. So, out of fear, love, and guilt, the child represses anger toward the parents and turns it inwards so that it becomes an anger directed towards him or herself. A "despised" self-concept starts to form, and the child finds it comfortable to think thoughts along the lines of "I am an unlovable and bad person." At the same time, the child also strives to present a perfect, idealized (and therefore acceptable) facade to the parents as a means of compensating for perceived weaknesses that make him or her "unacceptable". Caught between the belief that he or she is unacceptable, and the imperative to act perfectly to obtain parental love, the child becomes "neurotic" or prone to experiencing exaggerated anxiety and/or depression feelings. The child also feels a perpetual sense that he or she is not good enough, no matter how hard he or she tries.>>

http://www.mentalhelp.net/poc/view_doc.php?type=doc&id=13003&cn=5