Yes, diet is the most important aspect of overcoming candida. Without the diet you are only treating symptoms again, like the medical community, instead of creating "true healing" in the body. The body is designed to heal itself if it is given the proper environment and foods to do its job. Quick fixes only treat symptoms and do not correct the cause. The main cause of candida overgrowth is a severely depressed immune system. The diet not only cuts off the food supply to candida but also rebuilds and repairs the immune system.
But ensure you are providing all of the necessary nutrients necessary for proper immune building. A diet high in "good" proteins and high in "good" fats, with low carbs are essential. Most candida diets miss the importance of animals meats and fats. This is mainly due to the propaganda against animal meats and "good" saturated fats, especially the cholesterol issue, which is a scam perpetrated by medicos and the food and drug industries for the sole purpose of making money. This has caused serious illnesses in our current populations, i.e. heart disease, cancer, candida, diabetes, etc. Did you know heart disease was almost virtually unknown prior to 1900?
For more detailed information about this ideal human diet please see my article "How to Successfully Overcome Candida" in the files at my Candida Support Group: http://groups.yahoo.com/group/candidasupport
Also see for yourself supportive information and research done at Weston A. Price and at Dr. Mercola's website (URLS below).
The best to you,