hi Jose,
That is the application you have to create and is described in step #2:
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
<https://docs.djangoproject.com/en/1.8/ref/forms/>, see Django Forms
on the Django
website <https://www.djangoproject.com/>.
On Wed, Feb 6, 2019 at 2:01 AM jose rafael velasquez olmos <
[email protected]> wrote:
> hi braden what is ["myproject.myapp"] please help me
>
>
>
> El martes, 19 de abril de 2016, 14:49:28 (UTC-4:30), Braden MacDonald
> escribió:
>>
>> 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]>
>> 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/02031461-a147-4e4f-a02c-40801625bdd3%40googlegroups.com
> <https://groups.google.com/d/msgid/edx-code/02031461-a147-4e4f-a02c-40801625bdd3%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/CABCzmJJSupyXvZh8JMLfxfRApUeKJy22wqvUji2ppHAxKRtG-Q%40mail.gmail.com.