Pass variable to {% load %} templatetag

2022-12-27 Thread Santiago Lamora
Hi, I'm trying to decouple a template from a custom app "foo.bar". So only if the app "foo.bar" is in INSTALLED_APPS the template will render some extra information but if not, the project could still work (e.g. only with features provided by "foo" app). The "extra" content rendered by the app

Re: django Page

2014-07-23 Thread Santiago Lamora
2014-07-23 9:44 GMT+02:00 ngangsia akumbo : > I want to create an app where the user has the ability to create new pages > on their website > > the app should be called pages > > can someone give me an idea pease? > Seems that you need something like a CMS. Take a look at https://www.django-cms.o

Re: django Page

2014-07-23 Thread Santiago Lamora
2014-07-23 10:15 GMT+02:00 ngangsia akumbo : > Thanks , i have built some apps in my site like new, event and gallery, so > i want to include a new app that will help to create pages on the site > would the link above help me do that? > > What are you trying to do exactly? You talk like you're try

Re: Site Framework

2014-07-23 Thread Santiago Lamora
2014-07-23 12:52 GMT+02:00 Akshay Mukadam : > Why do we use Site Framework in django > https://docs.djangoproject.com/en/dev/ref/contrib/sites/#how-django-uses-the-sites-framework -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: simultaneously submit three forms on the same page

2014-07-29 Thread Santiago Lamora
2014-07-29 16:50 GMT+02:00 John : > How can one submit 3 forms simultaneously?? Even ajax, is on by one! > > Quotting https://docs.djangoproject.com/en/dev/ref/forms/api/#prefixes-for-forms > You can put several Django forms inside one tag. To give each Form its own namespace, use the prefix keyw

Re: simultaneously submit three forms on the same page

2014-07-31 Thread Santiago Lamora
2014-07-30 21:33 GMT+02:00 aRkadeFR : > Excellent. > > Thanks for the share. > > How backward compatible is it? > > On 29/07/14 17:51, Santiago Lamora wrote: > > 2014-07-29 16:50 GMT+02:00 John : > > > > > How can one submit 3 form