On 6/04/2017 2:44 PM, Mike Dewhirst wrote:
I'm collecting strings from web page sources and storing extracted
data in a TextField. If it is done again, it gets added into the
TextField.
My code goes something like ...
If data not in textfield:
insert_data(data, textfield)
Got it
I'm collecting strings from web page sources and storing extracted data
in a TextField. If it is done again, it gets added into the TextField.
My code goes something like ...
If data not in textfield:
insert_data(data, textfield)
... but no matter how I wrinkle my brow and try harder and
Csrf verification is used for cross site request forgery protection. In
earlier versions of django csrf_token was needed to be imported in views.py
file. In latest releases, however, ( I am using django 1.10), no such thing
is required. All you need to do is include {% csrf_token %} in your
Hola,
Has anyone got tips on integrating a Django 1.11.0/2.0 with FreeIPA?
I've found a video from EuroPython 2015 (
https://www.freeipa.org/page/Web_App_Authentication#Django) but that's a
long time ago now and videos aren't much chop when it comes to howtos :)
cheers
L.
--
The most
I was unable to deploy django in a shared hosting
--
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
when i try to upload profile pic after login through form..it shows csrf
verification failed..
Any answers why this is happening ???
--
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
Thanks heaps this should get me started
On Wed, Apr 5, 2017 at 2:42 PM, Lachlan Musicman wrote:
> Well, if it's on the user model as a function, then it will happen as soon
> as you call it.
>
> If they can have mulitple applications in process, then you will need to
>
Thanks Andrew! An outdated asgi_redis package was the issue. I was just
checking the package listing in PyCharm, which didn't show me the newer
version, so I thought I was on the latest version without checking the
CheeseShop. My fault. Sorry!
Am Mittwoch, 5. April 2017 16:49:13 UTC+2
Hi,
I'm setting up a Django app using Django 1.10.3 and python 3.5.2. When I
run the following command in my 3.5.2 virtual environment:
*python manage.py runserver*prior to entering the app in INSTALLED_APPS in
settings.py, my webpage comes up fine.
When I add the following line to
query.add_q() is a private API. I'd suggest to use git bisect to find the
Django commit where the behavior changed. That might give you a hint of how
to adapt your code.
On Wednesday, April 5, 2017 at 11:25:25 AM UTC-4, Mukul Acharya wrote:
>
> Traceback (most recent call last):
>File
When you type in the url it submits a GET, but the form submission (an the
error tell this explicitly) uses a POST. Likely you did not handle a POST
method in your view.
On Wednesday, April 5, 2017 at 6:25:23 PM UTC+3, Chris Chan wrote:
>
> Hi,
> I'm try to follow the Django tutorial and modify
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 out, but I doubt
most people in this list would care for business plans. I have a local
traceback, not stacktrace, sorry.
2017-04-05 17:30 GMT+02:00 ludovic coues :
> The full stacktrace and the code of your view would be helpful, thanks
>
> 2017-04-05 6:12 GMT+02:00 Chris Chan :
>> Hi,
>> I'm try to follow the Django tutorial and modify
The full stacktrace and the code of your view would be helpful, thanks
2017-04-05 6:12 GMT+02:00 Chris Chan :
> Hi,
> I'm try to follow the Django tutorial and modify something but failure.
> When I execute the web page is error and the Django server console said "
> Method
Traceback (most recent call last):
File
"/srv/webapps/myproj.com/virtualenvs/myproj1.11/local/lib/python2.7/site-packages/django/utils/autoreload.py",
line 227, in wrapper
fn(*args, **kwargs)
File
Hi,
I'm try to follow the Django tutorial and modify something but failure.
When I execute the web page is error and the Django server console said "
Method not allowed (Post): /polls/3/results/"
But I'm type address : http://127.0.0.1:8000/polls/3/results/ is fine,
thanks
In "First app, Part
Hi,
Can you make sure your asgi_redis installation is upgraded all the way too?
And which exact version of Channels do you have installed?
Andrew
On Wed, Apr 5, 2017 at 4:07 PM, Jochen Breuer wrote:
> Hi!
>
> After Updating Django to version 1.11 with a current Channels
Hi!
After Updating Django to version 1.11 with a current Channels installation
based on Redis, `runserver` spams the shell with the following error:
ERROR - server - Error trying to receive messages: name 'txredisapi' is not
defined
My consumers are working despite the error. I'm not sure
yes i installed it .
with this command:
python -m pip install django-secretballot
I have a question can you install this app on for yours?
because I believe if someone else can install this app for his project i
can do it too.
thanks
--
You received this message because you are subscribed
On Tuesday, 4 April 2017 21:04:52 UTC+1, Matthew Pava wrote:
>
> I have a form similar to that declared below:
>
>
>
> class LineItemForm(Mixin, forms.ModelForm):
>
> cost = forms.FloatField()
>
> field_order = [‘part’, ‘cost’]
>
>
>
> class Meta:
>
> model = LineItem
>
> fields =
have you installed django-secretballot ?
--
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 group, send
I am using(trying) redis as a cache to my django app. This is how I am
trying to do it.
def postview(request):
post_list = []
if cache.get("posts") == None:
post_list = Post.objects.all()
cache.set("posts", post_list, timeout=None)
else :
Not on purpose no -- if it doesn't work with 4.1 that is a bug
On Wednesday, April 5, 2017 at 11:07:13 AM UTC+2, jorr...@gmail.com wrote:
>
> Is the required version of Pillow pinned at 4.0.0? I upgraded to Django
> 1.11 and from Pillow 4.0.0 to 4.1.0 but now Django doesn't start because it
>
The error message should be longer and contain useful information to
find what is wrong.
Without these information, I don't know where to look for the error.
2017-04-05 0:00 GMT+02:00 shahab emami :
> hello
> i could never install an app from github
> i get errors all the
Is the required version of Pillow pinned at 4.0.0? I upgraded to Django
1.11 and from Pillow 4.0.0 to 4.1.0 but now Django doesn't start because it
says I can't use ImageField without installing Pillow. Downgrading to
Pillow 4.0.0 fixes this.
On Tuesday, April 4, 2017 at 6:09:40 PM UTC+2, Tim
That makes sense.
I got myself in such a muddle I somehow ended up knowing less about
Channels than I did a couple of weeks go.
Thanks very much for the help!
On Wednesday, 5 April 2017 09:18:58 UTC+1, Andrew Godwin wrote:
>
> The stream is the name of the stream inside the Multiplexer - it's
The stream is the name of the stream inside the Multiplexer - it's like a
sub-channel inside the WebSocket that is used by either end to distinguish
packets from each other (it's why you provide it to the JavaScript binding
- it needs to know which stream to listen to)
Andrew
On Wed, Apr 5, 2017
Hi Andrew,
Many thanks for your input - that does indeed help.
What was really confusing me was what arguments I actually needed to supply
to the JsonWebsocketConsumer.group_send() function.
Not fully understanding classmethods, I was trying to pass the cls argument
as well.
I understand
Thanks everyone.
Now I have got a clear idea of how these both statements differ to each
other.
Thanks and Regards,
Mahendra
On Tue, Apr 4, 2017 at 5:55 PM, Todor Velichkov
wrote:
> I didn't use anything special, just print on queryset.query
>
> qs1 =
29 matches
Mail list logo