<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunkdj web framework in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383674#M46671</link>
    <description>&lt;P&gt;This may help:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.djangoproject.com/en/2.1/ref/forms/fields/"&gt;https://docs.djangoproject.com/en/2.1/ref/forms/fields/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 09:58:08 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2019-01-02T09:58:08Z</dc:date>
    <item>
      <title>Splunkdj web framework</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383673#M46670</link>
      <description>&lt;P&gt;HI Splunk Gurus.  &lt;/P&gt;

&lt;P&gt;I am trying to create a form using the splunkdj framework  and have used the below in forms.py&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;from splunkdj.setup import forms

class SetupForm(forms.Form):
    email1   = forms.EmailField(endpoint='configs/conf-mysetup', entity='customerinfo' , field='email',max_length=100)
    email2   = forms.EmailField(endpoint='configs/conf-mysetup', entity='customerinfo' , field='email',max_length=100)
    password = forms.CharField(endpoint='configs/conf-mysetup', entity='customerinfo'  , field='password',max_length=100,widget=forms.PasswordInput(render_value=True))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the same works good. But i want to change the same from Email fields and password fields to add more text fields , and check boxes. Not sure how i can do the same. All help in regards to the same is appreciated along with any references where i can look in for similar situations to tackle similar situations as well.  like to understand what all values each of the arguments can carry etc,&lt;/P&gt;

&lt;P&gt;thank You in Advance&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 17:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383673#M46670</guid>
      <dc:creator>madakkas</dc:creator>
      <dc:date>2019-01-01T17:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunkdj web framework</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383674#M46671</link>
      <description>&lt;P&gt;This may help:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.djangoproject.com/en/2.1/ref/forms/fields/"&gt;https://docs.djangoproject.com/en/2.1/ref/forms/fields/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 09:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383674#M46671</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2019-01-02T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunkdj web framework</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383675#M46672</link>
      <description>&lt;P&gt;ive tried it mate. It did not help . I am trying to king to access the variables passed and am not able to retreive them even using a normal request.POST.get('variable_name',None) method. Not sure what is going wrong&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 13:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunkdj-web-framework/m-p/383675#M46672</guid>
      <dc:creator>madakkas</dc:creator>
      <dc:date>2019-01-02T13:11:07Z</dc:date>
    </item>
  </channel>
</rss>

