Commits

Amine Chouki committed c821894

rebuild doc

  • Participants
  • Parent commits ba68893

Comments (0)

Files changed (5)

File docs/_build/doctrees/configuration.doctree

Binary file modified.

File docs/_build/doctrees/environment.pickle

Binary file modified.

File docs/_build/html/_sources/configuration.txt

 
 All form variables + current object + Site.objects.get_current() are passed to the template, 
 
-You can create different email for specific model simply by creating ``mailmodel/app/model_body.txt``, ex: ``mailmodel/event/artist_body.txt``
+You can create different email for specific model simply by creating ``mailmodel/app/model_body.txt`` into your template dir, ex: ``mailmodel/event/artist_body.txt``.
 
 .. warning::
   django-mailmodel donc check if the current user have the permission to submit the object or not so be sur that all objects of the models included in ``MAILMODEL_CONFIG["APPS"]`` are public, otherwise implement your permission layer.

File docs/_build/html/configuration.html

 Message: {{ body }}</pre>
 </div>
 <p>All form variables + current object + Site.objects.get_current() are passed to the template,</p>
-<p>You can create different email for specific model simply by creating <tt class="docutils literal"><span class="pre">mailmodel/app/model_body.txt</span></tt>, ex: <tt class="docutils literal"><span class="pre">mailmodel/event/artist_body.txt</span></tt></p>
+<p>You can create different email for specific model simply by creating <tt class="docutils literal"><span class="pre">mailmodel/app/model_body.txt</span></tt> into your template dir, ex: <tt class="docutils literal"><span class="pre">mailmodel/event/artist_body.txt</span></tt>.</p>
 <div class="admonition warning">
 <p class="first admonition-title">Warning</p>
 <p class="last">django-mailmodel donc check if the current user have the permission to submit the object or not so be sur that all objects of the models included in <tt class="docutils literal"><span class="pre">MAILMODEL_CONFIG[&quot;APPS&quot;]</span></tt> are public, otherwise implement your permission layer.</p>

File docs/_build/html/searchindex.js

-Search.setIndex({desctypes:{},terms:{all:1,email_titl:1,public_captcha_kei:1,current:1,configur:[0,1],mailmodel_config:1,add:1,mailmodel:[0,1,2],mail:1,modul:0,sent:1,nom:[],fals:1,recaptcha:2,now:1,requir:[0,2],name:1,specif:1,"public":1,easili:2,contain:[],page:0,dir:1,set:[1,2],permiss:1,mailmodel_tag:1,pass:1,event:1,variabl:1,index:0,txt:1,content:0,version:2,sur:1,rel:2,surfeurx:2,email:[0,1],model_bodi:1,here:[1,3],bodi:1,met:2,ajax:3,let:1,org:2,post:3,modifi:1,developmen:2,reusabl:0,search:0,obj:1,plugin:3,mail_model:1,implement:1,email_bodi:1,load:1,simpli:1,app:1,artist_bodi:1,prefer:2,easy_instal:[0,2],my_private_recaptcha_kei:1,donc:1,submit:1,instal:[0,2],installed_app:1,your:1,differ:1,private_captcha_kei:1,messag:1,custom:1,avail:2,get_curr:1,includ:1,basic:3,type:2,form:[1,3],get_absolute_url:1,warn:1,include_captcha:1,indic:0,"default":1,jqueri:3,can:[1,2],otherwis:1,layer:1,simplemod:3,myapp:1,creat:1,applic:0,share:[0,1],site:1,templat:[1,3],have:[1,2],tabl:0,pip:[0,2],check:1,my_public_recaptcha_kei:1,welcom:0,titl:1,same:[],note:[],python:2,titr:[],you:[1,2],document:0,http:2,current_sit:1,screenshot:[0,3],object:[0,1],user:1,bitbucket:2,url:1,mymodel:1,django:[0,1,2],client:2,thi:1,model:1},titles:["Welcome to django-mailmodel&#8217;s documentation!","Configuration","Install django-mailmodel","Screenshots"],modules:{},descrefs:{},filenames:["index","configuration","installation","screenshots"]})
+Search.setIndex({desctypes:{},terms:{all:1,email_titl:1,permiss:1,content:0,configur:[0,1],mailmodel_config:1,add:1,mailmodel:[0,1,2],mail:1,modul:0,sent:1,nom:[],fals:1,recaptcha:2,now:1,requir:[0,2],name:1,specif:1,email:[0,1],easili:2,contain:[],page:0,dir:1,set:[1,2],public_captcha_kei:1,mailmodel_tag:1,pass:1,event:1,variabl:1,index:0,installed_app:1,current:1,version:2,sur:1,rel:2,surfeurx:2,"public":1,model_bodi:1,here:[1,3],bodi:1,met:2,ajax:3,let:1,org:2,post:3,modifi:1,developmen:2,reusabl:0,search:0,obj:1,plugin:3,mail_model:1,implement:1,email_bodi:1,load:1,simpli:1,app:1,artist_bodi:1,prefer:2,easy_instal:[0,2],my_private_recaptcha_kei:1,donc:1,submit:1,instal:[0,2],txt:1,your:1,differ:1,private_captcha_kei:1,messag:1,custom:1,avail:2,get_curr:1,includ:1,basic:3,type:2,form:[1,3],get_absolute_url:1,warn:1,include_captcha:1,templat:[1,3],"default":1,jqueri:3,can:[1,2],otherwis:1,layer:1,simplemod:3,have:[1,2],creat:1,applic:0,share:[0,1],site:1,indic:0,myapp:1,tabl:0,pip:[0,2],check:1,my_public_recaptcha_kei:1,welcom:0,titl:1,same:[],note:[],python:2,titr:[],you:[1,2],document:0,http:2,current_sit:1,screenshot:[0,3],object:[0,1],user:1,bitbucket:2,url:1,mymodel:1,django:[0,1,2],client:2,thi:1,model:1},titles:["Welcome to django-mailmodel&#8217;s documentation!","Configuration","Install django-mailmodel","Screenshots"],modules:{},descrefs:{},filenames:["index","configuration","installation","screenshots"]})