urlpatterns = [
url(r'^login/',login,name='login'),
url(r'^auth_view/',auth_view, name='auth_view'),
url(r'^signup_success/',signup_success,name='signup_success'),
url(r'^signup/',signup,name='signup'),
url(r'^logout/',logout,name='
Hello Jose,
I wouldn't be surprised if this was caused by a Django bug with prefetches
doing
weird things when the same model is referenced through different
relations[0].
Simon
[0] https://code.djangoproject.com/ticket/26318
Le samedi 4 mars 2017 13:36:20 UTC-5, Jose Kilo a écrit :
>
> Hi al
Hi, you forgot to include the error you get and probably other relevant
information.
You may be interested in reading these articles:
https://developer.jboss.org/wiki/HowToAskAForumQuestion?_sscc=t
https://www.biostars.org/p/75548/
On Saturday, April 8, 2017 at 12:38:57 PM UTC-4, IaMtheMcee wro
Hi,
Inside your "post" method, you have this line:
context = super(AccountProfilesView, self).post(request, *args, **kwargs)
in that case "context" is a HttpResponse object[0]. May be, from the name
you use for the variable, you think this is a simple dict as those used to
pass context to render
I'd joyfully be of assistance. Email me.
On 5 Apr 2017 16:47, "Joe Landrigan" wrote:
> Thanks Mark! I'll take all the free mentoring I can get. ;) I could use
> both types of mentors, but wasn't expecting an entrepreneurial mentor on a
> Django site. The idea is actually pretty well thought
thank you fabio
I needed this line:
'secretballot.middleware.SecretBallotIpUseragentMiddleware',
my problem solved
thanks again
On Saturday, April 8, 2017 at 3:52:51 PM UTC+4:30, Fabio Caritas
Barrionuevo da Luz wrote:
>
> Hello Shahab.
>
> Perhaps the real problem is that you apparently have n
I have the following forms to each user profile
class UserUpdateForm(forms.ModelForm):
class Meta:
widgets = {'gender':forms.RadioSelect,}
fields = ("username", "email", "is_student",
"is_professor", "is_executive",)
model = get_user_mode
Hi.
I have been thinking more about this.
I think you cannot filter the list in the query with the JSONField from
django. At most, you can get the object and filter the field in the
resulting list.
Example with this simple model:
from django.db import models
from django.contrib.postgres.fields i
On Tuesday, April 4, 2017 at 5:18:42 AM UTC-7, guettli wrote:
>
> In the past I was told: Don't store logs in the database.
>
For general purposes, I agree with this. Logging is a python standard, logs
can be verbose, logrolling solutions are well established (and built in),
etc. However, there
>
> setting up audiotracks in a new project.. im forced to use the example
> project, whose structure i don't fully understand..
the documentation says..
Add ``audiotracks`` to your app
~~~
Edit ``settings.py`` and add ``audiotracks`` to your list of
``INSTALLED_A
Could you tell what kind of trouble you have ?
2017-04-08 17:00 GMT+02:00 IaMtheMcee :
> Hi, i'm new to django.. I want to make a music streaming service much like
> itunes where users can purchase and download music. I'm using the
> audiotracks django package to handle my upload and streaming, bu
Hi Clinton,
On Sat, Apr 8, 2017 at 4:05 PM, Clinton Blackburn <
clinton.blackb...@gmail.com> wrote:
> Russ,
>
> How would this work for base/nested templates? Say my view is rendering
> the potential templates ['my-theme/page.html', 'page.html'], and the
> templates inherits base.html. Do I have
Sorry. I think i'ts in "tokens and SecretBallotMiddleware"
Have à look to http://www.pygarden.com/pkg/django-likes,
http://stackoverflow.com/questions/1954/django-likes-setup-and-error,
http://stackoverflow.com/questions/16179080/django-django-secretballot-middleware
Le ven. 7 avr. 2017 23:2
Hi, i'm new to django.. I want to make a music streaming service much like
itunes where users can purchase and download music. I'm using the
audiotracks django package to handle my upload and streaming, but im having
trouble with it.. any pointers?
--
You received this message because you are
Look like a question for the pil mailing list.
Anyway, stackoverflow suggest that you create a new image then paste the
old image onto the new one.
Here is the code from stackoverflow
newImage = Image.new(mode, (newWidth,newHeight))
newImage.paste(srcImage, (x1,y1, x1+oldWidth,y1+oldHeigh
I am creating QRcode for each ticket. The QRcode is in image format.
I want to extend this image vertically on both the sides (i.e. Top and
Bottom). And in the extended area I want to add some additional data like
this:
Theater Name
_
||
|
Russ,
How would this work for base/nested templates? Say my view is rendering the
potential templates ['my-theme/page.html', 'page.html'], and the templates
inherits base.html. Do I have to override base.html for every theme if I
want base.html (or any other child/parent template) to be theme-a
It's hard to tell what is wrong without the full traceback or thecode
causing the exception.
I would suggest to replace reverse("password_reset_done") with
reverse("myapp:password_reset_done").
Might be as simple as that.
2017-04-07 19:55 GMT+02:00 Thames Khi :
> My example is simple, I am happy
On Sat, 8 Apr 2017, Sithembewena Lloyd Dube wrote:
Do take the time to peruse the book. It would be time well spent. Also, do
keep in mind that the recommendations therein do not apply to a Django
blog or CRM sustem etc, per se. They would apply just as well if you were
building a RESTful mobile
Hello,
It can be helped by see.
A lot of apps.
www.apparelexportgr.com
On Wednesday, December 19, 2012 at 3:39:21 AM UTC+6, Chris Cogdon wrote:
>
> Personally, I'd prefer something that didn't require packaging up
> additional programs (xampp and python, in this example).
>
> It should be _p
Hello Shahab.
Perhaps the real problem is that you apparently have not completed a good
tutorial to learn how django works and how to use it.
I would recommend these two tutorials: https://tutorial.djangogirls.org/
and http://www.marinamele.com/taskbuster-django-tutorial
said that, this is the r
On Sat, Apr 8, 2017 at 1:28 AM, Clinton Blackburn <
clinton.blackb...@gmail.com> wrote:
> Has anyone solved site-aware theming? I have a multi-tenant site (using
> sites framework) and I want to render custom templates for each site. My
> current design calls for a default design, and overrides of
22 matches
Mail list logo