Re: django collectstatic

2013-12-12 Thread Brian Schott
The best way to get help is to paste the errors into a gist (https://gist.github.com) or similar service and post the link. Redact anything that looks like a key or password :-). Brian Schott bfsch...@gmail.com On Dec 12, 2013, at 6:24 AM, kodali srinath chowdary wrote: > while deal

Re: User Profiles "user.get_profile()" returns 'matching query does not exist.'

2014-03-28 Thread Brian Sanchez
try: except: it worked thank you!! On Saturday, September 20, 2008 9:14:42 PM UTC-4, Paddy Joy wrote: > > The error message is telling you that the user has no profile > (Specifically there is no record in the table schedule.profile related > to the user). > > Your app needs to take care of c

Re: Polymorphic Inheritance

2014-05-13 Thread Brian Schott
. There is a good book called "Two Scoops of Django", which recommends avoiding premature database optimization. Unless you've identified this is the long pole in your tent, you are probably better off focusing on other optimizations such as installing memcached. Brian Schott bfs

Re: Django authentication by email

2014-05-15 Thread Brian Schott
Django-allauthhttps://github.com/pennersr/django-allauth — Sent from Mailbox On Thu, May 15, 2014 at 7:58 AM, Frankline wrote: > Hi all, > I am thinking of developing a web application where users will have to > login by their email address instead of using their usernames. > Now I know I can do

Re: LoginRequiredMixin ignored

2016-06-15 Thread Brian Schott
Try swapping class order. Sent from my iPhone > On Jun 15, 2016, at 6:55 PM, Lee Hinde wrote: > > Using Django 1.9.7. > I have the following class: > class AddView(LoginRequiredMixin, CreateView): > template_name = "entry.html" > model = Property > form_class = AddPropertyForm >

Re: Serving external files with Django

2017-01-02 Thread Brian Witte
Hi Priyesh, Do you know what volume of files you expect to serve? The answer to this question will be different depending on where the files are hosted. If you expect a low volume of downloads, it might be easiest to just host the files on dropbox or even served from your own db. If you expe

Re: Advise for first project in Django

2017-01-02 Thread Brian Witte
Welcome to Django! Getting a web site to work can be very hard. Even if you know django, there are many other services you need, too: a database, testing, a webserver, etc. This tutorial is one of the best I have seen: http://www.marinamele.com/taskbuster-django-tutorial On Friday, December 2

Django reporting Library recommendations

2019-04-16 Thread Brian Mcnabola
Im looking for a Django reporting library something similar to Django report builder ? -- 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...

Re: Storing HTML in DB using DJANGO

2019-04-21 Thread Brian M
What if you convert the html to an array of bytes before storing? Then you’d convert from bytes array back to string when you retrieve. This way you’d store raw data. > On Apr 21, 2019, at 8:41 AM, Jani Tiainen wrote: > > Well after all, HTML is just plain text... Though you probably want to

Feature Request: set default model primary key to UUID or something else for entire project

2019-06-28 Thread Brian Carter
I am aware that I can specify any model's primary key by adding that kwarg to a field within the model. I currently do this with most my models, using UUIDField as the primary key: class MyModel(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) #

Unauthenticated onetime url to edit a form.

2019-07-01 Thread Brian Mcnabola
*Context: * I have a booking app that is managed over the phone by an admin. the callers/client's details are stored in a Client model and then related to a Booking model when a booking is made. *Problem*: I want the client to have access to edit their booking without having to be a user in th

Unauthenticated one time edit form/url

2019-07-01 Thread Brian Mcnabola
Context: I have a booking system which is in a call centre. Clients call in and give their details (name address phone email) these details are stored in a Client Model When they make a booking over the phone it is associated to the entry in the Booking Model. Problem: I'd like to add a form on

Re: Accessing data from a 30 GB file in json format

2019-07-01 Thread Brian Mcnabola
https://stackoverflow.com/questions/2396238/memory-error-due-to-the-huge-input-file-size Just iterate the file do whatever operations you want on the file. https://towardsdatascience.com/python-basics-iteration-and-looping-6ca63b30835c On Monday, July 1, 2019 at 11:07:39 AM UTC+1, Nibil Ashraf wr

Issues saving hex format data to binaryfield

2017-02-22 Thread Brian O'Connell
in a PostgreSQL database? Thanks, Brian -- 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...@googlegroups.com. To post to this gr

Re: Issues saving hex format data to binaryfield

2017-02-22 Thread Brian O'Connell
s the print out (Standard PostgreSQL escape format): E\xa343c5ea E\x52577ade Any help would be appreciated. Thanks, Brian On Wednesday, February 22, 2017 at 2:19:14 PM UTC-5, ludovic coues wrote: > > Can't you use django's BinaryField ? > > 2017-02-22 20:09 GMT+01:00 Shawn

Re: Issues saving hex format data to binaryfield

2017-02-22 Thread Brian O'Connell
The database is pre-existing and I'm creating a Django web interface for it. This object holds the 8-digit hex output of the unique mfr identifier of the MiFare rfids. There are remote terminals that interact with database through psycopg2 and have no issue with that field. I could change the

django channels group subscriptions

2017-06-01 Thread Brian May
Hello, I would like to be able to create a Django Channels group such that: 1. Websockets can can subscribe and unsubscribe (or disappear) to group that the client specifies. 2. When the first client subscribes to a group, it starts some process (e.g. via celery task) that feeds thi

Re: django channels group subscriptions

2017-06-01 Thread Brian May
On Friday, 2 June 2017 13:04:48 UTC+10, Andrew Godwin wrote: > > You can't do what you ask with the current Groups system - it is > deliberately very simple as anything more complex involves picking scaling > tradeoffs that are particular to the thing it's powering. You'll have to > layer some o

Re: django channels group subscriptions

2017-06-01 Thread Brian May
On Friday, 2 June 2017 14:08:40 UTC+10, Andrew Godwin wrote: > > I don't have any direct examples to hand - and this sort of thing does > come all the time, but much like Django is not in the business of including > a full CMS, Channels can't add lots of high-level features without really > narr

F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
I am trying to run a query that uses an expression wrapper. Within this wrapper I'm calling the math.atan function, and within that function I'm calling an F() expression. The F() expression is getting data with a DecimalField datatype. I'm getting an error stating that "a float is required". T

Re: F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
On further investigation and thoughts, I think I may need to replace math.atan with some kind of django query expression function that will allow the arc-tangent to be calculated within a query expression. Does one already exist? -- You received this message because you are subscribed to the G

Re: F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
Nevermind, I figured it out. Instead of math.arctan, I used Func() with function='ATAN'. -- 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..

add users to google group django

2017-06-30 Thread Brian Lee
I have a quick question about handling email updates using Django. My organization uses a Google Group to send mass emails to those added to the email list, and I was looking to add a 'sign up' widget to the footer of the website (It's a non-buisness Google Group). Is it possible to utilize Goo

Re: multiplate table inheritance subclass with extra OneToOneField relationship to parent class

2020-07-19 Thread Brian Maissy
I'm still using the workaround I mentioned above -- 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...@googlegroups.com. To view this discussi

staticfiles ManifestStaticFilesStorage and Form Media

2015-12-06 Thread Brian Neal
I'm investigating using staticfiles ManifestStaticFilesStorage. Unless I'm missing something, there seems to be a hole with Django forms Media class. If you use an inner Media class you do not get the hashed versions of the assets filenames. This leads me to believe you can't use the Forms Med

Re: staticfiles ManifestStaticFilesStorage and Form Media

2015-12-07 Thread Brian Neal
Thank you Denis. I will keep my eye on this ticket: https://code.djangoproject.com/ticket/21221 Best, BN On Monday, December 7, 2015 at 12:42:23 AM UTC-6, Denis Cornehl wrote: > > Hi Brian, > > a sidenote, this will be fixed: > https://github.com/django/django/pull/5571

Re: Python on the web

2016-03-07 Thread Brian Schott
Dude. Try django gigs.com or freelance.com Sent from my iPhone > On Mar 7, 2016, at 11:11 AM, Bob Gailer wrote: > > > On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote: > > > > Hey, > > > > Need a simple python script put into a website. It uses the requests module. > > > > $20? Any takers? >

Re: Django Admin Redesign

2018-11-13 Thread brian hopkins
You can override them check out this page in the docs https://docs.djangoproject.com/en/2.1/ref/contrib/admin/ Sent from my iPhone > On Nov 12, 2018, at 9:14 PM, Phako Perez <13.phak...@gmail.com> wrote: > > If I remember correctly you can define your own templates under the template > directo

Re: Python

2023-08-31 Thread Brian Carey
It would be good to have a goal. What do you want to do? Website? Applications? Data Science? Machine Learning? The answer really depends on your purpose. ⁣Get BlueMail for Android ​ On Aug 31, 2023, 21:34, at 21:34, KHUSH DESAI wrote: >hey guys , I am a new to doing all of this as i just start

Redundant execution of tasks with Celery.

2023-10-23 Thread Brian Odhiambo
Hello everyone. I have scheduled tasks that get executed with Celery. On development, the scheduled tasks are executed only once. But in production, they're executed redundantly. I have my django application deployed on a private server. I've tried to examine what could be the cause of this behavio

Re: Project together

2023-12-07 Thread Brian Gitau
Also add me +254715790096 On Thu, Dec 7, 2023 at 11:51 AM Abdulrahman Abbas wrote: > I'm interested add me up 09020387775 > > On Thu, Nov 23, 2023, 19:13 Youssef Bachraoui > wrote: > >> Hi developer i search to make a group on WhatsApp to begin a project >> together anyone interested about that

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Brian Odhiambo
Hello, I'm interested On Mon, Feb 12, 2024 at 10:18 AM Amen Guda wrote: > Hey I’m interested add me thank you add me 0944365493 > > On Sun, Feb 11, 2024 at 11:38 PM Jorge Bueno > wrote: > >> Thank you for your interest in contributing! Yes, you can fork my >> repository and then make the necess

Re: E-comm live project

2024-03-18 Thread Brian Odhiambo
WhatsApp +254721897768 On Mon, Mar 18, 2024, 20:25 1001_prabhjot Singh wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend > interested one's can send there number for WhatsApp group > > -- >

Re: Django 3.0 alpha 1 released

2019-09-10 Thread Brian M
On Tue, Sep 10, 2019, 5:30 AM Carlton Gibson wrote: > We've made the first release on the way to Django's next major > release, Django 3.0! > > With about two and a half months until the > final release (scheduled for December 2nd), we'll need timely testing > from the community to ensure an on-t

multiplate table inheritance subclass with extra OneToOneField relationship to parent class

2019-10-17 Thread Brian Maissy
I have a model which essentially boils down to this: class Person(models.Model): name = models.TextField() class MarriedMan(Person): wife = models.OneToOneField(Person, on_delete=models.CASCADE, related_name='husband') But when I try to make the migratio

Multiple table inheritance subclass with an additional OneToOneField relationship to the parent class

2019-10-17 Thread Brian Maissy
I have a model which in essence boils down to this: class Person(models.Model): name = models.TextField() class MarriedMan(Person): wife = models.OneToOneField(Person, on_delete=models.CASCADE, related_name='husband') But when I try to generate the migra

Django + tiny_mce

2008-10-07 Thread Brian K. Jones
SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', ) ROOT_URLCONF = 'cms.urls' TEMPLATE_DIRS = ('/Users/jonesy/django/cms/templates', # Put strings here, like "/home/html/django_templates" or "C:/www/ django/templates". # Always

Re: Django + tiny_mce

2008-10-07 Thread Brian K. Jones
y" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 7, 2008 at 9:07 AM, Brian K. Jones <[EMAIL PROTECTED]> wrote: > > > > > > > This scenario has been brought up before, but I'm having a problem > > that hasn't yet been reported. I was unable to reply to t

html validator middleware

2007-06-18 Thread Brian St. Pierre
urces/djangovalidator/), but lighter weight. Requires python 2.4 (for the subprocess module). Requires the offline "validate" utility for HTML validation from HTMLHelp.com, or its equivalent. Available here: http://bstpierre.org/Projects/HtmlValidatorMiddleware/ Comments & questions

Re: database error instead of 400

2007-06-26 Thread Brian St. Pierre
On Jun 25, 7:30 pm, Francis Lavoie <[EMAIL PROTECTED]> wrote: > OperationalError: unable to open database file An addition to the page that Ramiro pointed to: the webserver user needs (at least) execute permission (d--x--x--x) on every directory below the one that holds the database file. Otherwi

Using an INSERT...SELECT... type of query

2008-03-26 Thread Brian P Armstrong
e same. Here's the diff. I'd be glad to continue working on it (error checking, documenting, and more input types) if anyone thinks it might be useful. http://dpaste.com/41475/ Thanks, Brian Armstrong --~--~-~--~~~---~--~~ You received this message

Re: nginx server to apache

2019-08-15 Thread 'Maher, Brian' via Django users
Yes, certainly! You can run Django apps under apache using mod_wsgi. There’s an example configuration here: https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/ Best Brian — Best Regards, Brian Maher On 15 Aug 2019, at 09:17, gopi p mailto:gopi.s...@gmail.com>> wrot

Re: Expire Password Reset Link

2019-10-23 Thread 'Maher, Brian' via Django users
— Best Regards, Brian Maher Senior Research Software Engineer & Systems Administrator King’s Digital Lab VWB, 2nd Floor, Room 2.50, Strand Campus Work: 0207 848 0511 Mobile: 07714 285086 Voip: ‭01702 667471‬ On 23 Oct 2019, at 15:10, Nelson Varela mailto:nelson.c.var...@gmail.com>> wrote:

Re: Username as email

2019-11-23 Thread 'Maher, Brian' via Django users
I maintain one project which does this with a save hook on the User model, setting the username to the email address field (with uniqueness tests, of course). It’s crude, but seems to work well and hasn’t given any problems. — Best Regards, Brian Maher Senior Research Software Engineer

<    5   6   7   8   9   10