Re: Reusable Chat Application for Django Developers

2020-06-11 Thread Ahmed Ishtiaque
Hi Aldian, I haven't gotten around to updating the docs, but the context_processors module isn't necessary anymore. Someone else had posted an issue about this: https://github.com/dibs-devs/chatter/issues/49 , and I'll try to update the docs as soon as I can. Best, Ahmed On Thu, Jun 11, 2020,

Re: Possible server attacks

2020-05-03 Thread Ahmed Ishtiaque
Observe how your server responds to these requests. Sometimes these requests are sent by attackers hoping that your server might respond with sensitive data that it shouldn't be sending. Generally, ensuring that invalid requests end up with your server sending error responses and not actual

Re: Looking for offline messaging sample app

2020-01-07 Thread Ahmed Ishtiaque
I had used django-postman for a similar use case. It's not been worked on for quite some time now, but it was fully functional the last time I'd used it. On Mon, Jan 6, 2020 at 7:52 PM Ram wrote: > Hi, > We are developing a classifieds

Re: Chat

2019-09-06 Thread Ahmed Ishtiaque
This may help. https://github.com/dibs-devs/chatter Best, Ahmed On Fri, Sep 6, 2019 at 7:44 AM samuel lopez wrote: > Saludos, alguien me puede dar una breve explicación o si hay un paquete o > algo para poder agregarle una aplicación de chat a mi proyecto en Django? > > -- > You received this

Re: invalid literal for int() with base 10: ''

2019-06-21 Thread Ahmed Ishtiaque
Hi Lutalo, Could you also share the stacktrace of the error and when it happens? It would help us decipher what's really going on in relation to what you're trying to do. Best, Ahmed On Fri, Jun 21, 2019 at 8:33 AM Lutalo Bbosa joseph wrote: > hi guys, am working on an ecommerce system, which

Re: Django channel 2: do I have to prefix value of 'type' (the listening consumer method) of group_send with consumer class name if the consumer is a different one

2019-06-12 Thread Ahmed Ishtiaque
If my Channels 2 knowledge serves me right, your group names for these two consumers should be unique. The group names should determine which consumer's assignQuiz method is executed. Hope this helps! On Wed, Jun 12, 2019 at 9:25 PM Arean Bbay wrote: > I have 2 consumers, namely

Re: Djano rest api

2019-06-12 Thread Ahmed Ishtiaque
I think DRF has pretty good examples of API designs, even though I can't point you to a specifically constructed API for you to look at. On Wed, Jun 12, 2019 at 10:23 AM Rob W wrote: > Hi all, > > I need to see a django rest api, with proper endpoint

Re: Info

2019-05-06 Thread Ahmed Ishtiaque
Ignore that. I think it's someone who's set up a ploy for that e-mail to be replied back to get some free money. On Mon, May 6, 2019 at 2:50 PM Soumen Khatua wrote: > Then why one bit bounce application is coming everytime after sending any > problem and saying if you will pay the we will allow

Re: Projects to work on

2019-05-05 Thread Ahmed Ishtiaque
I also have a small chat project that you could possibly take a look at! It's called chatter and it's on PyPI: www.pypi.org/django-chatter It definitely needs a lot of tuning up to get to a properly usable state. Best, Ahmed On Sun, May 5, 2019, 1:33 PM Jamiu Olashile Salimon <

Re: Button Event

2019-04-29 Thread Ahmed Ishtiaque
Hi Mayur, I'm not sure what you mean by "there is no javascript in django" because I use it all the time. JS is not tied to Django in any way since its operations are usually client-side and so it can be used inside your Django templates. In any case, you can have JS code in your template inside

Re: Django Chat Help

2019-04-21 Thread Ahmed Ishtiaque
Hello! Shameless plug: I've been working towards making a chat app for Django developers to be able to use. You could check it out here if you want! Best, Ahmed On Sun, Apr 21, 2019 at 10:50 AM Fahad Bin Munir wrote: > how to create chatting system

Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Ahmed Ishtiaque
I'd suggest not worrying too much about upgrading to 2.2 right away. Since it's going to be an LTS release, the projects your project depends on will probably consider adding 2.2 support fairly fast. But if you want to give it a shot anyway, I'd suggest taking a look at what changed from 1.11 to

Re: Web Push Notification in Django

2019-03-25 Thread Ahmed Ishtiaque
Following this for my own purposes as well. I did only a little bit of research (testing the waters, if you like) on this. So far, here are some resources that are currently open in my browser right now: Introduction to Push Notifications

Re: Deployment on Heroku

2019-03-25 Thread Ahmed Ishtiaque
>From the looks of it, it seems that in your procfile you need to point to the *exact* location gunicorn is installed in. So this could be somewhere like ~/.local/lib/pythonx.y/site-packages/gunicorn directory on your heroku instance (if it’s a Linux filesystem... I don’t remember what heroku uses

Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-23 Thread Ahmed Ishtiaque
Awesome! Sorry I couldn't reply earlier. To explain myself a little better, I use gunicorn to handle all HTTP requests to my server and daphne to handle all WebSocket requests. This isn't necessary since daphne can do both by itself, but the Deploying

Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-22 Thread Ahmed Ishtiaque
Aldian has pointed it out already, but I also use Nginx + gunicorn + daphne for my production server. Nginx decides when to upgrade a request to wss:// and passes it on to my daphne instance to handle automatically. Would be happy to share my config for that if you want. Best, Ahmed On Fri, Mar

Reusable Chat Application for Django Developers

2019-03-18 Thread Ahmed Ishtiaque
Hello everyone, A couple of months ago I was trying to check if I can use any of the apps that appear in Django Packages Chat section but it seems like none of them are maintained very well. So I decided to build an open source chat project based on

Re: Separating remote vs local settings.py parameters - - “EMAIL”?

2019-03-16 Thread Ahmed Ishtiaque
ement SMTP or other email services? > > Would it be OK for me to just exclude altogether “EMAIL_*” until I reach a > point when there is a need for an SMTP server (which will probably be never > for the project I am working on)? > > > On Friday, March 15, 2019 at 9:27:41 PM U

Re: Separating remote vs local settings.py parameters - - “EMAIL”?

2019-03-15 Thread Ahmed Ishtiaque
The character "*" represents "wildcard". Here is the real reason why the instructor puts it that way: https://docs.djangoproject.com/en/2.1/ref/settings/#email-backend There are a lot of variables that contain the 'EMAIL_' prefix, which is why the instructor wrote it that way. On Fri, Mar 15,

Re: Django credit card redaction app - - MultiValueDictKeyError

2019-03-15 Thread Ahmed Ishtiaque
OK job. But would there be a better way >for me to ask my question to attract more responses? What would any of you >recommend in terms of advice for me to refine and refine the way I ask >similar questions in the future on this message board? > > > > On Thur

Re: Django credit card redaction app - - MultiValueDictKeyError

2019-03-14 Thread Ahmed Ishtiaque
When a user requests your home page's URL the first time in order to load your home.html file, the GET request they send to your server does not contain the 'ccEntry' parameter, which raised the MultiValueDictKeyError whenever your view was executing. However, in your edited view, you take care of

Re: django channels help please

2019-02-26 Thread Ahmed Ishtiaque
Is any error produced on your development server? Please post the code in your consumers.py file. On Tue, Feb 26, 2019, 8:43 PM 정정수 wrote: > https://channels.readthedocs.io/en/latest/index.html > > Viewed and produced basic tutorials > > I'd like to show you if there's anything special about

Re: Looking for an experienced Django full stack developer

2019-02-26 Thread Ahmed Ishtiaque
I’d be interested in learning more! > On Feb 26, 2019, at 4:27 AM, Giorgio M. wrote: > > We are looking to expand our team with an experienced Python / Django > developer, with the ability to work vertically from the model creation to the > frontend (on a bootstrap template and jQuery).

Re: django channels help please

2019-02-26 Thread Ahmed Ishtiaque
Could you share your repository? We need more details to determine what’s wrong. On a side note, I made a functional chat app with Django channels here: https://www.github.com/dibs-devs/chatter Good luck! > On Feb 26, 2019, at 4:58 AM, 정정수 wrote: > > Hi Dear > ( I use Google Translator )

Re: Django Channels and multi-tenant will this be a world of hurt?

2019-02-24 Thread Ahmed Ishtiaque
@N Muchai, I don't know if you've found a workaround to this, but here's mine if people are interested in the future. I just made a custom ASGI application that adds the tenant schema name (provided your URLs are in the form *.domain.com, where * represents the schema name) and whether the