欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

修改字段

系統(tǒng) 2262 0

The? registration form ?allows some customization of its fields. While the core fields (email, password, user name and full name) are always mandatory, you can chose whether the other fields should be mandatory, optional, or even not displayed at all. Some additional fields, like city or country, are not displayed in the default form and are available if you want to request them from your users during registration.

This is configurable through the use of the? REGISTRATION_EXTRA_FIELDS ?setting, which is a dictionary providing, for each of the fields, one of the following values:

  • required : to display the field, and make it mandatory
  • optional : to display the field, and make it non-mandatory
  • hidden : to not display the field

The default value of the setting is the following, set in? edx-platform/lms/envs/common.py :

      REGISTRATION_EXTRA_FIELDS 
      
        = {

    
        
          
            'level_of_education
            
              ': 
              
                
                  'optional
                  
                    ', 
                    
                      
                        'gender
                        
                          ': 
                          
                            
                              'optional
                              
                                ', 
                                
                                  
                                    'year_of_birth
                                    
                                      ': 
                                      
                                        
                                          'optional
                                          
                                            ', 
                                            
                                              
                                                'mailing_address
                                                
                                                  ': 
                                                  
                                                    
                                                      'optional
                                                      
                                                        ', 
                                                        
                                                          
                                                            'goals
                                                            
                                                              ': 
                                                              
                                                                
                                                                  'optional
                                                                  
                                                                    ', 
                                                                    
                                                                      
                                                                        'honor_code
                                                                        
                                                                          ': 
                                                                          
                                                                            
                                                                              'required
                                                                              
                                                                                ', 
                                                                                
                                                                                  
                                                                                    'city
                                                                                    
                                                                                      ': 
                                                                                      
                                                                                        
                                                                                          'hidden
                                                                                          
                                                                                            ' 
                                                                                            
                                                                                              
                                                                                                'country
                                                                                                
                                                                                                  ': 
                                                                                                  
                                                                                                    
                                                                                                      'hidden
                                                                                                      
                                                                                                        ', }
                                                                                                      
                                                                                                    
                                                                                                  
                                                                                                
                                                                                              
                                                                                            
                                                                                          
                                                                                        
                                                                                      
                                                                                    
                                                                                  
                                                                                
                                                                              
                                                                            
                                                                          
                                                                        
                                                                      
                                                                    
                                                                  
                                                                
                                                              
                                                            
                                                          
                                                        
                                                      
                                                    
                                                  
                                                
                                              
                                            
                                          
                                        
                                      
                                    
                                  
                                
                              
                            
                          
                        
                      
                    
                  
                
              
            
          
        
      
    

修改字段


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會(huì)非常 感謝您的哦?。?!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 久久91久久91精品免费观看 | 天天更新天天久久久更新影院 | 五月婷丁香| 中文字幕一区在线观看视频 | 九一传媒在线观看 | 日韩精品 电影一区 亚洲 | 亚洲精品一区二区三区在线看 | 亚洲91在线 | 国产欧美一区二区成人影院 | 亚洲国产精品二区久久 | 免费在线一级毛片 | 国产精品久久久久影视青草 | 久久处女视频 | 欧美一级精品 | 欧美日本一 | 波多野结衣一区二区三区在线观看 | 一级特黄录像视频免费 | a久久 | 亚洲情乱 | 成人在线免费 | 热re66久久精品国产99re | 加勒比婷婷色综合久久 | www.伊人 | 欧美精品国产第一区二区 | 成人欧美一区二区三区 | 精品国产一区二区国模嫣然 | 香蕉久久a毛片 | 国产欧美精品亚洲桃花岛 | 丁香花在线电影小说观看 | 亚州av在线| 狠狠综合久久 | 久久精品网 | 国内精品久久久久激情影院 | 国产亚洲一级精品久久 | 国产精品国产精品国产专区不卡 | 国产精品亚洲第一区二区三区 | 成人免费在线 | 国产精品免费网站 | 舔操| 午夜在线亚洲男人午在线 | 亚洲精品国产综合一线久久 |