I got it! :D (?P\w+) and NOT (P? .
Am Mittwoch, 11. März 2015 21:57:34 UTC+1 schrieb inoyon artlover
KLANGRAUSCH:
>
> I don't understand why this doesn't work and smashes an
>
> '*The current URL, lighter, didn't match any of these.'*
>
> m
I don't understand why this doesn't work and smashes an
'*The current URL, lighter, didn't match any of these.'*
my models.py
class ShopList(models.Model):
name = models.CharField(max_length=100, null=True, blank=True)
description = models.CharField(max_length=100, null=True, blank=True
Hi no. I did a responsive site with bootstrap. But when I enter the url in
responinator,
nothing happens. ..
Am Dienstag, 10. März 2015 16:05:03 UTC+1 schrieb inoyon artlover
KLANGRAUSCH:
>
> Hi there,
>
> how can I get Django working with responsinator.com ?
>
> Best rega
Hi there,
how can I get Django working with responsinator.com ?
Best regards! :)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googl
> *Dato: *6. mar. 2015 kl. 09.49.01 CET
> *Fra: *inoyon artlover KLANGRAUSCH >
> *Til: *django...@googlegroups.com
> *Emne: **attaching an app to site via apphook fails. server crashes only
> (beginner question)*
>
> I created a site and via the django-cms interface. Than ed
Hi there,
regarding the django-cms tutorial I put this file into the 'polls' app:
*cms_app.py*
rom cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
class PollApp(CMSApp):
name = 'Poll App'
urls = 'polls.urls'
apphook_pool.register(PollApp)
I created a site and via
Many thanks! Now I got it! :)
Am Samstag, 14. Februar 2015 05:28:40 UTC+1 schrieb inoyon artlover
KLANGRAUSCH:
>
> Hi there, there is something I obviously don't understand. According to
> django reference,
> the DetailView has to be provided a slug or pk. I do it in the
Hi there, there is something I obviously don't understand. According to
django reference,
the DetailView has to be provided a slug or pk. I do it in the url but
django constantly doesn't
recognize the slug in the url. 'current url doesn't match etc.' what is
wrong here? I do everything
like it
Hi there!
I got one page. On the page is a contact form.
After clicking the 'send' button I want to change the form containing div to
'thank you for mailing us' div. And stay at the same 'id' on the page.
One way to solve it is to put an another template and load it as 'success
url'
But this way
item.active = True
item.save()
return item
Am Samstag, 13. Dezember 2014 23:00:04 UTC+1 schrieb inoyon artlover
KLANGRAUSCH:
>
> Hi there,
>
> my model is:
>
> class ZipCode(models.Model):
> zipcode = models.CharField(max_le
Hi there,
my model is:
class ZipCode(models.Model):
zipcode = models.CharField(max_length=5)
city = models.CharField(max_length=255)
active = models.BooleanField(default=False)
I would like to mange the 'active' status of some entries in the admin by
selecting multiple.
For example
just set 'initial=False' within the form-field works!
Am Sonntag, 7. Dezember 2014 19:57:12 UTC+1 schrieb inoyon artlover
KLANGRAUSCH:
>
> Hi there, I got a form:
>
> class Answers(models.ModelForm):
>
> psyq11 = forms.ModelChoiceField(
>
Hi there, I got a form:
class Answers(models.ModelForm):
psyq11 = forms.ModelChoiceField(
queryset=PsychologicQuestion11.objects.all(),
widget=forms.RadioSelect)
psyq12 = forms.ModelChoiceField(
queryset=PsychologicQuestion12.objects.all(),
alues in the ManyToMany?
>
> Collin
>
> On Thursday, December 4, 2014 7:20:13 PM UTC-5, inoyon artlover
> KLANGRAUSCH wrote:
>>
>> Very cool! :) Many thanks, once more! :) Could be off-topic, but there is
>> somethin more tricky:
>> Before a ManyToManyField the
to a
defined amount (i.e. 6 or 10) (here would be form validation best practice?)
Am Freitag, 5. Dezember 2014 15:00:01 UTC+1 schrieb Collin Anderson:
>
> Hi,
>
> Create an admin Inline like this:
>
> class CustomInterestsInline(admin.TabularInline):
> model = CustomInterests
Hi everybody,
need to accomplish a matching in following fashion:
Users have to edit their psychological profile and
select XOR characteristic on each category.
Qestions:
1.
extroverted: (checkbox)
or
introverted: (checkbox)
2.
organised: (checkbox)
or
spntaneous: (checkbox)
So only ONE cho
l.com:
>
> On Thu, Dec 4, 2014 at 6:46 PM, inoyon artlover KLANGRAUSCH
> > wrote:
> > Great, it works with one form but not with an another...
> > Btw. how is it possible to overwrite the 'this field is required' error
> > message?
>
> You can pr
4:54 PM, inoyon artlover KLANGRAUSCH
> > wrote:
> > Hi there, I got a following Form-Class:
> >
> >
> > class CustomUserprofileInterestsForm(forms.ModelForm):
> >
> > interests = forms.ModelMultipleChoiceField(
> > queryset=Interests
Hi there, I got a following Form-Class:
class CustomUserprofileInterestsForm(forms.ModelForm):
interests = forms.ModelMultipleChoiceField(
queryset=Interests.objects.all(),
widget=forms.CheckboxSelectMultiple)
I want to limit the choices for example to 6 of all displayed.
I am very beginner in the programming world, so please forgive my lack of
understanding...
There is a CustomUserprofile in my models.py.. nothin very special about
this...
class Interests(models.Model):
RATING = [(y, y) for y in range(1, 7)]
interest = models.CharField(max_length=4
20 matches
Mail list logo