cuducos / bot-followers Goto Github PK
View Code? Open in Web Editor NEW🍊 Find out how many bots follow any given Twitter acount
License: GNU General Public License v3.0
🍊 Find out how many bots follow any given Twitter acount
License: GNU General Public License v3.0
The way I integrated the app in Django Admin is too hacky and can be improved in several ways:
We can minimize Django Admin template customization this way, and considerably enhance maintainability.
The whole external package looks libe a botometer package library that other people could use.
Also I would add the proper import interface via botometer/__init__.py
.
This would make clear how core
connects with it.
In the admin template, there's a fixed message regarding the error:
This confidence assumes a z-score of 1.96
. But this value can be easily changed:
Line 147 in 67b1805
Thus we need to adapt the template message to other z-scores.
I don't think we need a complicated math to beging with. Just a dictionary {1.96: '95%'}
would be enough and we just don't show the error/confidence message if the z-score in use is not on the dictionary.
bot-followers/web/core/forms.py
Line 7 in 5db04fb
Hello, I would like to update the ImportError message in the manage.py file to make it more user-friendly.
Could you please assign this to me?
Quando tento subir o servidor usando o comando docker-compose run --rm django
um alerta aparece indicando a ausencia da pasta /web/staticfiles conforme abaixo.
System check identified no issues (0 silenced).
December 09, 2019 - 20:52:50
Django version 3.0, using settings 'web.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
/usr/local/lib/python3.8/site-packages/whitenoise/base.py:116: UserWarning: No directory at: /web/staticfiles/
warnings.warn(u"No directory at: {}".format(root))
Quando tento acessar o endereço http://localhost:8000 a resposta é como se o servidor não estivesse rodando (Unable to connect)
Se eu uso o comando docker-compose up django
o mesmo alerta é exibido, mas quando tento acessar a página recebo como resposta um 404.
rodei as migrations e segui o readme. Não sei se o alerta é responsavel pelo erro, mas esse é o passo a passo que testei aqui.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.