I'm a web developer & programmer from Dublin, currently living in Valencia, Spain. I specialize in Python web applications, particularly Django & Flask.
|
2h
|
|
reviewed | Approve suggested edit on how do I group python and html views to one view in django? |
|
2h
|
|
comment |
ImportError: No module named django.core.management @babbaggeii you can add and accept your own answer if you have fixed the issue |
|
3h
|
|
answered | Custom [admin] interfaces with Django? |
|
3h
|
|
answered | Restoring OSQA database to initial state |
|
20h
|
|
comment |
Combine CreateView with DetailView in Django 1.5 Presumably you have a FK relationship from Product > Shop, so you will need to set that relationship in your CreateView in the background (by getting the id from the url and manually assigning the relationship), then make that field hidden in your new form so that when the user creates a new instance, the relationship will be saved. Alternatively, you could set the relationshop when the users POSTs their form and it's validated.
|
|
1d
|
|
comment |
CreateView is not returning an HttpResponse I found a good site today for django-links in general: djangolinks.com . You might find more interesting stuff there. |
|
1d
|
|
awarded | django |
|
1d
|
|
comment |
Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword arguments You haven't accepted the answer to the last answer I gave you and this one isn't much more difficult. You need to learn to debug yourself. The URL reverser is throwing an error because it can't match the combination of view and arguments that you gave. Try use positional arguments instead of keyword arguments: {% url 'django.contrib.auth.views.password_reset_confirm' uid token %}
|
|
1d
|
|
answered | Django forget password |
|
1d
|
|
comment |
Django forget password what version of Django do you have? It sounds like it's a problem with the comma between uidb36=uid and token=token in your template
|
|
1d
|
|
comment |
Querying a ManyToMany Field in a Django model What have you tried and what don't you understand? |
|
1d
|
|
comment |
How I validate my Django Form with a File Upload Why not just use frontend javascript form validation? |
|
2d
|
|
comment |
efficiently loading jquery and javascript files in django templates Include them in the base template, but minify or compress them. That way they only need to be downloaded once (with one single request) and will be in the cache in subsequent requests. |
|
2d
|
|
comment |
a strange bug on template's url tag error Try single quotes around index
|
|
2d
|
|
comment |
Does not exist. No exception supplied error I am wrong. queryset can just be an iterable, not necessarily a QuerySet
|
|
2d
|
|
comment |
Does not exist. No exception supplied errorqueryset needs to be a queryset, not a list (as returned by get_models() (I've never seen it done this way so I might be wrong)
|
|
2d
|
|
answered | CreateView is not returning an HttpResponse |
|
2d
|
|
comment |
CreateView is not returning an HttpResponse You need to have a return for the form_valid method (if you are using a ModelForm): return super(PeopleImportCsv, self).form_valid(form)
|
|
2d
|
|
comment |
Template logic not functioning properly What is currently happening? You've told us what should happen, but not what is happening at the moment? I presume that Display All is shown even when the there are no values in place?
|
|
2d
|
|
revised |
Template logic not functioning properly edited title |