Hi Braden,
Is it possible to do this cypress version? Looking forward to hearing from
you.
Thanks.
On Wednesday, April 20, 2016 at 12:49:28 AM UTC+5:30, Braden MacDonald
wrote:
>
> Hi Natalia,
>
> First, make sure you are using a development devstack - this feature was
> added after the Dogwood release, so is not available in any named release
> versions.
>
> Second, it's fine if those keys are not currently included in
> lms.env.json. Just add them in (at the top level).
>
> Example lms.env.json:
>
> {
>> ... (existing settings) ...
>> "ADDL_INSTALLED_APPS": ["myproject.myapp"],
>> "REGISTRATION_EXTENSION_FORM":
>> "myproject.myapp.custom_reg_form.RegExtensionForm"
>> }
>
>
> --
> Braden
> @OpenCraft <http://opencraft.com/>
>
> On Tue, Apr 19, 2016 at 12:16 AM, Natalia Torres <[email protected]
> <javascript:>> wrote:
>
>> Hi,
>> I need some extra information about students so I want to extend
>> registration form adding custom fields.
>> On documentation "4.3. Adding Custom Fields to the Registration Page" (
>> http://edx.readthedocs.org/projects/edx-installing-configuring-and-running/en/latest/configuration/customize_registration_page.html
>> )
>> found:
>>
>> To add custom fields to the registration page, follow these steps.
>>
>> 1.
>>
>> Start the LMS and sign in to your instance of Open edX.
>> 2.
>>
>> Use Python to create a Django form that contains the fields that you
>> want to add to the page, and then create a Django model to store the
>> information from the form.
>>
>> For more information about how to create Django forms, see Django
>> Forms <https://docs.djangoproject.com/en/1.8/ref/forms/> on the Django
>> website <https://www.djangoproject.com/>.
>> 3.
>>
>> In the lms.env.json file, add the app for your model to the
>> ADDL_INSTALLED_APPS array.
>> 4.
>>
>> In the lms.env.json file, set the REGISTRATION_EXTENSION_FORM setting
>> to the path of the Django form that you just created, as a dot- separated
>> Python string.
>>
>> For example, if your form is named “ExampleExtensionForm” and is
>> located at “path/to/the_form.py”, the value of the setting is
>> path.to.the_form.ExampleExtensionForm.
>> 5.
>>
>> Run database migrations.
>> 6.
>>
>> Restart the LMS and verify that the new fields appear on your
>> registration form.
>>
>> But ADDL_INSTALLED_APPS and REGISTRATION_EXTENSION_FORM aren't included
>> on lms.env.json
>>
>> Regards
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "General Open edX discussion" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/edx-code/2a65f42e-9cd2-49c7-b9a1-d603a6ec322f%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/edx-code/2a65f42e-9cd2-49c7-b9a1-d603a6ec322f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"General Open edX discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/9733e4fd-d386-411f-884f-e529fce1ce1f%40googlegroups.com.