小编San*_*ota的帖子

Excel中的数组反转

我在单元格中得到了 8 个字节的十六进制值,如下所示,其格式为小端格式 00 00 08 04 22 00 40 00

通过文本分割,我可以在数组中获取单独的十六进制值。= TEXTSPLIT(A1, , " ")

00 00 08 04 22 00 40 00

是否有一个 Excel 公式可以用来从数组中以相反的顺序获取值以执行下面的操作?

00 40 00 22 04 08 00 00

我不想使用 LEFT、MID 或 RIGHT 提取器,因为我想创建适用于所有数据类型的通用公式。

excel excel-formula

4
推荐指数
1
解决办法
138
查看次数

Django:Bootstrap 按钮链接不起作用

我在 Django 的民意调查应用程序中创建了一个链接,看起来我的按钮链接不起作用。我在这里做的错误是什么?

我的 urls.py 是

from django.conf.urls import url

from . import views

app_name = 'polls'

urlpatterns = [
    # ex: /polls/
    #url(r'^$', views.index, name='index'),
    url(r'^$', views.IndexView.as_view(), name='index'),


    url(r'^login/$', views.LoginView.as_view(), name='login'),

    # ex: /polls/5/
    # the 'name' value as called by the {$ url $} template tag
    #url(r'^(?P<question_id>[0-9]+)/$', views.detail, name='detail'),
    url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'),

    # ex: /polls/5/results/
    #url(r'^(?P<question_id>[0-9]+)/results/$', views.results, name='results'),
    url(r'^(?P<pk>[0-9]+)/results/$', views.ResultsView.as_view(), name='results'),

    # ex: /polls/5/vote/
    url(r'^(?P<ballot_id>[0-9]+)/vote/$', views.vote, name='vote'),

]
Run Code Online (Sandbox Code Playgroud)

我创建了这样的按钮和链接

<button type="submit" class="btn btn-primary"><a href="{% url 'polls:index'  %}"></a>
  {% …
Run Code Online (Sandbox Code Playgroud)

django django-views bootstrap-modal

1
推荐指数
1
解决办法
2620
查看次数