On Monday, August 10, 2015 at 8:34:28 AM UTC+10, Nan wrote:
>
> Hi everyone --
>
> I'm building a project that allows users to create mailing lists. In
> order to create a mailing list, you must first create an account; in order
> to join a mailing list, you don't have to have an account.
Hi everyone --
I'm building a project that allows users to create mailing lists. In order
to create a mailing list, you must first create an account; in order to
join a mailing list, you don't have to have an account. Accounts are
handled by one Django app and mailing lists and list
Ok, now I've other problem, and it is that in the HTML the *Select* doesn't
changes the value selected (it is always the first one, *"-"*). Any
particullary reason for it?
El domingo, 9 de agosto de 2015, 18:51:30 (UTC+2), durir...@gmail.com
escribió:
>
> Have you created some in that
Did you add your 'blog' app in the installed apps in settings.py?
On Sun, Aug 9, 2015 at 10:35 PM, Maggie Chang
wrote:
> hi all,
> would like to seek for everyone's help.
> I am following the django girls instruction =>
>
hi all,
would like to seek for everyone's help.
I am following the django girls instruction =>
http://tutorial.djangogirls.org/en/django_urls/index.html#your-first-django-url,
but encounter the problem.
when I connect to 127.0.0.1:8000, I got the No module named 'blog' response.
Here's the
For a 'catalog_product' URL, you need to provide two slug arguments, one
for the category and one for the product. Your permalink function only
provides a value for product_slug, which is why there is no match against
the regex.
You should also rewrite those functions to remove the @permalink
>
> Have you created some in that test?
Now I realized I forget to add a *setUp* function with the DB rows...
.__.
It doesn't matter how many time I pass coding, always the same fails.
Thanks both.
El domingo, 9 de agosto
Changed the URLS as follows, doesn't seem to have helped much, still
getting the same error..
url(r'^(?P[-\w]+)/$', views.category, name =
'catalog_category' ),
url(r'^(?P[-\w]+)/(?P[-\w]+)/$',
views.product, name = 'catalog_product'),
суббота, 8 августа 2015 г., 0:03:40 UTC+3
On Saturday, 8 August 2015 12:58:59 UTC+1, durir...@gmail.com wrote:
>
> I searched in the web for some example of setting a FK in a ModelForm
> (bound and unbound), but the examples I founded didn't worked for me. The
> best thing I think I've is this:
>
> *forms.py*
>
>
>
>
>
>
>
>
> *class
I get the same, an empty select.
El sábado, 8 de agosto de 2015, 22:49:19 (UTC+2), James Schneider escribió:
>
> Try removing the .values_list() portion of the query set in your
> ModelForm. You should be passing a query set, not a list of values. The
> form knows how to iterate through the
10 matches
Mail list logo