Stanislaus does not have any ban on outdoor growing. The counties that do act to have such a ban in place have the problem that their local ordinances interfere with a right given under state law Health and Safety Code 11362.5 and 11362.77(a), in which the state law allowing 6 mature or 12 immature plants preempts local ordinances.
Just a note of advice for anyone who does decide to plant outside, regardless of any laws or ordinances. Please do not plant in your front yard or anywhere others can see the plants. Many do this and it causes problems with people walking by and helping themselves. While it may souns like common sense, this is an ongoing problem in many counties.